Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib Shrink the evbarm install image by not including the...
details: https://anonhg.NetBSD.org/src/rev/d525820afe9b
branches: trunk
changeset: 933703:d525820afe9b
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 28 19:20:57 2020 +0000
description:
Shrink the evbarm install image by not including the live images on the install media
diffstat:
distrib/common/bootimage/Makefile.installimage | 5 ++++-
distrib/evbarm/installimage/Makefile | 7 +++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r 0a64f0d5a759 -r d525820afe9b distrib/common/bootimage/Makefile.installimage
--- a/distrib/common/bootimage/Makefile.installimage Thu May 28 19:03:09 2020 +0000
+++ b/distrib/common/bootimage/Makefile.installimage Thu May 28 19:20:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.installimage,v 1.7 2020/05/28 15:12:03 jmcneill Exp $
+# $NetBSD: Makefile.installimage,v 1.8 2020/05/28 19:20:57 jmcneill Exp $
#
# Common Makefile to create a bootable installation image for USB flash etc.
#
@@ -49,6 +49,9 @@
IMGDIR_EXCLUDE= -s ',./installation/cdrom.*,,gp'
IMGDIR_EXCLUDE+= -s ',./installation/liveimage.*,,gp'
IMGDIR_EXCLUDE+= -s ',./installation/installimage.*,,gp'
+.if defined(MD_IMGDIR_EXCLUDE)
+IMGDIR_EXCLUDE+= ${MD_IMGDIR_EXCLUDE}
+.endif
IMGBASE= ${INSTIMGBASE}
diff -r 0a64f0d5a759 -r d525820afe9b distrib/evbarm/installimage/Makefile
--- a/distrib/evbarm/installimage/Makefile Thu May 28 19:03:09 2020 +0000
+++ b/distrib/evbarm/installimage/Makefile Thu May 28 19:20:57 2020 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2020/05/28 15:23:43 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/28 19:20:57 jmcneill Exp $
.include <bsd.own.mk>
INSTIMGBASE= NetBSD-${DISTRIBVER}-${MACHINE_ARCH}-install # gives ${IMGBASE}.img
-INSTIMAGEMB?= 1550 # for all installation binaries
+INSTIMAGEMB?= 750 # for all installation binaries
.if ${MACHINE_ARCH} == "aarch64"
EFIBOOT= ${WORKDIR}/usr/mdec/bootaa64.efi
@@ -30,4 +30,7 @@
${SYSINSTDIR}/sysinstmsgs.pl . \
${SYSINSTDIR}/sysinst .
+MD_IMGDIR_EXCLUDE= -s ',./binary/gzimg.*,,gp'
+MD_IMGDIR_EXCLUDE+= -s ',./binary/instkernel.*,,gp'
+
.include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.installimage"
Home |
Main Index |
Thread Index |
Old Index