Pull up following revision(s) (requested by martin in ticket #992): distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.11 distrib/amd64/ramdisks/common/list.ramdisk: revision 1.20 distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.12 distrib/i386/ramdisks/common/list.ramdisk: revision 1.26 PR install/50311: missing gptmbr.bin on ramdisk based installs.diff -r1.10 -r1.10.10.1 src/distrib/amd64/ramdisks/common/Makefile.ramdisk
(snj)
--- src/distrib/amd64/ramdisks/common/Makefile.ramdisk 2012/10/16 08:23:20 1.10
+++ src/distrib/amd64/ramdisks/common/Makefile.ramdisk 2015/10/15 20:30:57 1.10.10.1
@@ -1,40 +1,41 @@ | @@ -1,40 +1,41 @@ | |||
1 | # $NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb Exp $ | 1 | # $NetBSD: Makefile.ramdisk,v 1.10.10.1 2015/10/15 20:30:57 snj Exp $ | |
2 | 2 | |||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> | |
4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | 4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | |
5 | 5 | |||
6 | AMD64COMMON= ${.CURDIR}/../common | 6 | AMD64COMMON= ${.CURDIR}/../common | |
7 | 7 | |||
8 | .PATH: ${AMD64COMMON} | 8 | .PATH: ${AMD64COMMON} | |
9 | 9 | |||
10 | WARNS= 1 | 10 | WARNS= 1 | |
11 | DBG= -Os -fno-asynchronous-unwind-tables | 11 | DBG= -Os -fno-asynchronous-unwind-tables | |
12 | CRUNCHGEN_FLAGS= -d "${DBG}" | 12 | CRUNCHGEN_FLAGS= -d "${DBG}" | |
13 | 13 | |||
14 | CRUNCHBIN= ramdiskbin | 14 | CRUNCHBIN= ramdiskbin | |
15 | 15 | |||
16 | # Use ${.CURDIR}/list only if LISTS was not already defined by the caller. | 16 | # Use ${.CURDIR}/list only if LISTS was not already defined by the caller. | |
17 | LISTS?= ${.CURDIR}/list | 17 | LISTS?= ${.CURDIR}/list | |
18 | LISTS+= ${AMD64COMMON}/list.ramdisk | 18 | LISTS+= ${AMD64COMMON}/list.ramdisk | |
19 | MTREECONF= ${DISTRIBDIR}/common/mtree.common | 19 | MTREECONF= ${DISTRIBDIR}/common/mtree.common | |
20 | IMAGEENDIAN= le | 20 | IMAGEENDIAN= le | |
21 | IMAGEDEPENDS+= ${CRUNCHBIN} \ | 21 | IMAGEDEPENDS+= ${CRUNCHBIN} \ | |
22 | dot.profile \ | 22 | dot.profile \ | |
23 | ${DESTDIR}/usr/mdec/boot \ | 23 | ${DESTDIR}/usr/mdec/boot \ | |
24 | ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ | 24 | ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ | |
25 | ${DESTDIR}/usr/mdec/mbr \ | 25 | ${DESTDIR}/usr/mdec/mbr \ | |
26 | ${DESTDIR}/usr/mdec/mbr_ext \ | 26 | ${DESTDIR}/usr/mdec/mbr_ext \ | |
27 | ${DESTDIR}/usr/mdec/mbr_bootsel \ | 27 | ${DESTDIR}/usr/mdec/mbr_bootsel \ | |
28 | ${DESTDIR}/usr/mdec/gptmbr.bin \ | |||
28 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ | 29 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ | |
29 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ | 30 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ | |
30 | ${DISTRIBDIR}/common/services | 31 | ${DISTRIBDIR}/common/services | |
31 | PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} | 32 | PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} | |
32 | 33 | |||
33 | .if defined(USE_SYSINST) | 34 | .if defined(USE_SYSINST) | |
34 | LISTS+= ${DISTRIBDIR}/common/list.sysinst | 35 | LISTS+= ${DISTRIBDIR}/common/list.sysinst | |
35 | MAKEFS_FLAGS+= -f 14 | 36 | MAKEFS_FLAGS+= -f 14 | |
36 | .endif | 37 | .endif | |
37 | 38 | |||
38 | # Use stubs to eliminate some large stuff from libc | 39 | # Use stubs to eliminate some large stuff from libc | |
39 | HACKSRC= ${DISTRIBDIR}/utils/libhack | 40 | HACKSRC= ${DISTRIBDIR}/utils/libhack | |
40 | .include "${HACKSRC}/Makefile.inc" | 41 | .include "${HACKSRC}/Makefile.inc" |
--- src/distrib/amd64/ramdisks/common/list.ramdisk 2014/08/10 20:07:41 1.19
+++ src/distrib/amd64/ramdisks/common/list.ramdisk 2015/10/15 20:30:57 1.19.2.1
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: list.ramdisk,v 1.19 2014/08/10 20:07:41 riz Exp $ | 1 | # $NetBSD: list.ramdisk,v 1.19.2.1 2015/10/15 20:30:57 snj Exp $ | |
2 | 2 | |||
3 | SRCDIRS external/bsd/less/bin | 3 | SRCDIRS external/bsd/less/bin | |
4 | SRCDIRS bin sbin usr.bin usr.sbin libexec | 4 | SRCDIRS bin sbin usr.bin usr.sbin libexec | |
5 | 5 | |||
6 | # Programs for a minimal ramdisk image | 6 | # Programs for a minimal ramdisk image | |
7 | 7 | |||
8 | PROG bin/cat | 8 | PROG bin/cat | |
9 | PROG bin/chmod | 9 | PROG bin/chmod | |
10 | PROG bin/cp | 10 | PROG bin/cp | |
11 | PROG bin/ln | 11 | PROG bin/ln | |
12 | PROG bin/ls | 12 | PROG bin/ls | |
13 | PROG bin/mkdir | 13 | PROG bin/mkdir | |
14 | PROG bin/mv | 14 | PROG bin/mv | |
@@ -73,16 +73,17 @@ COPY ${NETBSDSRCDIR}/etc/group etc/grou | @@ -73,16 +73,17 @@ COPY ${NETBSDSRCDIR}/etc/group etc/grou | |||
73 | COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd | 73 | COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd | |
74 | COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig | 74 | COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig | |
75 | COPY ${DISTRIBDIR}/common/protocols etc/protocols | 75 | COPY ${DISTRIBDIR}/common/protocols etc/protocols | |
76 | COPY ${DISTRIBDIR}/common/services etc/services | 76 | COPY ${DISTRIBDIR}/common/services etc/services | |
77 | 77 | |||
78 | # we need the boot block in /usr/mdec + the MBR copy | 78 | # we need the boot block in /usr/mdec + the MBR copy | |
79 | COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot | 79 | COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot | |
80 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1 | 80 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1 | |
81 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2 | 81 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2 | |
82 | COPY ${DESTDIR}/usr/mdec/bootxx_lfsv2 usr/mdec/bootxx_lfsv2 | 82 | COPY ${DESTDIR}/usr/mdec/bootxx_lfsv2 usr/mdec/bootxx_lfsv2 | |
83 | COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr | 83 | COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr | |
84 | COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext | 84 | COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext | |
85 | COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel | 85 | COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel | |
86 | COPY ${DESTDIR}/usr/mdec/gptmbr.bin usr/mdec/gptmbr.bin | |||
86 | 87 | |||
87 | # and the boot script | 88 | # and the boot script | |
88 | COPY ${CURDIR}/../common/dot.profile .profile | 89 | COPY ${CURDIR}/../common/dot.profile .profile |
--- src/distrib/i386/ramdisks/common/Makefile.ramdisk 2012/10/16 08:23:21 1.11
+++ src/distrib/i386/ramdisks/common/Makefile.ramdisk 2015/10/15 20:30:57 1.11.10.1
@@ -1,39 +1,40 @@ | @@ -1,39 +1,40 @@ | |||
1 | # $NetBSD: Makefile.ramdisk,v 1.11 2012/10/16 08:23:21 apb Exp $ | 1 | # $NetBSD: Makefile.ramdisk,v 1.11.10.1 2015/10/15 20:30:57 snj Exp $ | |
2 | 2 | |||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> | |
4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | 4 | .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" | |
5 | 5 | |||
6 | I386COMMON= ${.CURDIR}/../common | 6 | I386COMMON= ${.CURDIR}/../common | |
7 | 7 | |||
8 | .PATH: ${I386COMMON} | 8 | .PATH: ${I386COMMON} | |
9 | 9 | |||
10 | WARNS= 1 | 10 | WARNS= 1 | |
11 | DBG= -Os | 11 | DBG= -Os | |
12 | 12 | |||
13 | CRUNCHBIN= ramdiskbin | 13 | CRUNCHBIN= ramdiskbin | |
14 | 14 | |||
15 | # Use ${.CURDIR}/list only if LISTS was not already defined by the caller. | 15 | # Use ${.CURDIR}/list only if LISTS was not already defined by the caller. | |
16 | LISTS?= ${.CURDIR}/list | 16 | LISTS?= ${.CURDIR}/list | |
17 | LISTS+= ${I386COMMON}/list.ramdisk | 17 | LISTS+= ${I386COMMON}/list.ramdisk | |
18 | MTREECONF= ${DISTRIBDIR}/common/mtree.common | 18 | MTREECONF= ${DISTRIBDIR}/common/mtree.common | |
19 | IMAGEENDIAN= le | 19 | IMAGEENDIAN= le | |
20 | IMAGEDEPENDS+= ${CRUNCHBIN} \ | 20 | IMAGEDEPENDS+= ${CRUNCHBIN} \ | |
21 | dot.profile \ | 21 | dot.profile \ | |
22 | ${DESTDIR}/usr/mdec/boot \ | 22 | ${DESTDIR}/usr/mdec/boot \ | |
23 | ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ | 23 | ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ | |
24 | ${DESTDIR}/usr/mdec/mbr \ | 24 | ${DESTDIR}/usr/mdec/mbr \ | |
25 | ${DESTDIR}/usr/mdec/mbr_ext \ | 25 | ${DESTDIR}/usr/mdec/mbr_ext \ | |
26 | ${DESTDIR}/usr/mdec/mbr_bootsel \ | 26 | ${DESTDIR}/usr/mdec/mbr_bootsel \ | |
27 | ${DESTDIR}/usr/mdec/gptmbr.bin \ | |||
27 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ | 28 | ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ | |
28 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ | 29 | ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ | |
29 | ${DISTRIBDIR}/common/services | 30 | ${DISTRIBDIR}/common/services | |
30 | PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} | 31 | PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} | |
31 | 32 | |||
32 | # This propogates through to the link of ramdiskbin | 33 | # This propogates through to the link of ramdiskbin | |
33 | # The map file is useful when trying to prune the image | 34 | # The map file is useful when trying to prune the image | |
34 | LDFLAGS+= -Wl,-Map,${CRUNCHBIN}.map,--cref | 35 | LDFLAGS+= -Wl,-Map,${CRUNCHBIN}.map,--cref | |
35 | CRUNCHENV += LDFLAGS=${LDFLAGS:Q} | 36 | CRUNCHENV += LDFLAGS=${LDFLAGS:Q} | |
36 | 37 | |||
37 | .if defined(USE_SYSINST) | 38 | .if defined(USE_SYSINST) | |
38 | .if ${USE_SYSINST} != yes | 39 | .if ${USE_SYSINST} != yes | |
39 | LISTS+= ${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST} | 40 | LISTS+= ${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST} |
--- src/distrib/i386/ramdisks/common/list.ramdisk 2014/08/10 20:07:41 1.25
+++ src/distrib/i386/ramdisks/common/list.ramdisk 2015/10/15 20:30:57 1.25.2.1
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: list.ramdisk,v 1.25 2014/08/10 20:07:41 riz Exp $ | 1 | # $NetBSD: list.ramdisk,v 1.25.2.1 2015/10/15 20:30:57 snj Exp $ | |
2 | 2 | |||
3 | SRCDIRS external/bsd/less/bin | 3 | SRCDIRS external/bsd/less/bin | |
4 | SRCDIRS bin sbin usr.bin usr.sbin libexec | 4 | SRCDIRS bin sbin usr.bin usr.sbin libexec | |
5 | 5 | |||
6 | # Programs for a minimal ramdisk image | 6 | # Programs for a minimal ramdisk image | |
7 | 7 | |||
8 | PROG bin/cat | 8 | PROG bin/cat | |
9 | PROG bin/chmod | 9 | PROG bin/chmod | |
10 | PROG bin/cp | 10 | PROG bin/cp | |
11 | PROG bin/ln | 11 | PROG bin/ln | |
12 | PROG bin/ls | 12 | PROG bin/ls | |
13 | PROG bin/mkdir | 13 | PROG bin/mkdir | |
14 | PROG bin/mv | 14 | PROG bin/mv | |
@@ -73,16 +73,17 @@ COPY ${NETBSDSRCDIR}/etc/group etc/grou | @@ -73,16 +73,17 @@ COPY ${NETBSDSRCDIR}/etc/group etc/grou | |||
73 | COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd | 73 | COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd | |
74 | COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig | 74 | COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig | |
75 | COPY ${DISTRIBDIR}/common/protocols etc/protocols | 75 | COPY ${DISTRIBDIR}/common/protocols etc/protocols | |
76 | COPY ${DISTRIBDIR}/common/services etc/services | 76 | COPY ${DISTRIBDIR}/common/services etc/services | |
77 | 77 | |||
78 | # we need the boot block in /usr/mdec + the MBR copy | 78 | # we need the boot block in /usr/mdec + the MBR copy | |
79 | COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot | 79 | COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot | |
80 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1 | 80 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1 | |
81 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2 | 81 | COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2 | |
82 | COPY ${DESTDIR}/usr/mdec/bootxx_lfsv2 usr/mdec/bootxx_lfsv2 | 82 | COPY ${DESTDIR}/usr/mdec/bootxx_lfsv2 usr/mdec/bootxx_lfsv2 | |
83 | COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr | 83 | COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr | |
84 | COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext | 84 | COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext | |
85 | COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel | 85 | COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel | |
86 | COPY ${DESTDIR}/usr/mdec/gptmbr.bin usr/mdec/gptmbr.bin | |||
86 | 87 | |||
87 | # and the boot script | 88 | # and the boot script | |
88 | COPY ${CURDIR}/../common/dot.profile .profile | 89 | COPY ${CURDIR}/../common/dot.profile .profile |