From c3d63bc897177197036c20bf2ae69b641060bd22 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 14 May 2024 17:15:13 +0000 Subject: [PATCH] Add the same extra stuff from amd64 --- distrib/i386/cdroms/Makefile.cdrom | 4 +++- distrib/i386/cdroms/spec.in | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 distrib/i386/cdroms/spec.in diff --git a/distrib/i386/cdroms/Makefile.cdrom b/distrib/i386/cdroms/Makefile.cdrom index 09a0f984057d..651608e4e416 100644 --- a/distrib/i386/cdroms/Makefile.cdrom +++ b/distrib/i386/cdroms/Makefile.cdrom @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.cdrom,v 1.43 2024/04/26 17:36:32 nia Exp $ +# $NetBSD: Makefile.cdrom,v 1.44 2024/05/14 17:15:13 christos Exp $ .include @@ -12,6 +12,8 @@ CDKERNELS= netbsd-GENERIC.gz netbsd CDRELEASE_NOISOS= true CD_SETS+= base etc gpufw +SPEC_EXTRA:=${.PARSEDIR}/spec.in + image_md_pre: ${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc cdrom/install.sh ${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab diff --git a/distrib/i386/cdroms/spec.in b/distrib/i386/cdroms/spec.in new file mode 100644 index 000000000000..49abcaae48eb --- /dev/null +++ b/distrib/i386/cdroms/spec.in @@ -0,0 +1,6 @@ +./boot type=file uname=root gname=wheel mode=644 +./install.sh type=file uname=root gname=wheel mode=755 +./mnt2 type=dir uname=root gname=wheel mode=755 +./netbsd type=file uname=root gname=wheel mode=644 +./targetroot type=dir uname=root gname=wheel mode=755 +./etc/gettytab type=link uname=root gname=wheel mode=755