From: Lionel Sambuc Date: Fri, 16 Nov 2012 11:13:42 +0000 (+0100) Subject: Fixup for non-fatal mkisofs error. X-Git-Tag: v3.2.1~200 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch10.html?a=commitdiff_plain;h=0e33224aa2d7fb2d793cc5ad33408f84acab6719;p=minix.git Fixup for non-fatal mkisofs error. The corresponding rules have been commented out through .ifdef blocks. Change-Id: I36afb75f049b39806ede1f7dd6950710826b3555 --- diff --git a/distrib/sets/lists/minix/mi b/distrib/sets/lists/minix/mi index 20a149de6..fbd2e298a 100644 --- a/distrib/sets/lists/minix/mi +++ b/distrib/sets/lists/minix/mi @@ -4457,6 +4457,7 @@ ./usr/var/run minix-sys ./var/db minix-sys ./var/db/obsolete minix-sys +./var/db/obsolete/minix minix-sys ./var minix-sys ./var/run minix-sys ./boot/minix/.temp minix-sys diff --git a/etc/Makefile b/etc/Makefile index 66510d534..b49bfa457 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -52,6 +52,8 @@ DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh # mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrtools # Note: At least mkisofs 2.0 should be used. # +.if !defined(__MINIX) +# LSC: We do not yet support iso creation anyway, then do not try to find it. .if !defined(MKISOFS) MKISOFS!= (which mkisofs || echo true) .endif @@ -65,6 +67,7 @@ MKISOFS_FLAGS+= -J -l -hide-joliet-trans-tbl -r -T \ .if ${MKISOFS_FLAGS:N-v} MKISOFS_FLAGS+= -quiet .endif +.endif # !defined(__MINIX) # MD Makefile.inc may append MD targets to BIN[123]. Make sure all @@ -437,6 +440,8 @@ install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV OBSOLETE.dir= ${.OBJDIR}/obsolete.dir .if !defined(__MINIX) OBSOLETE.files= base comp etc games man misc text +.else +OBSOLETE.files= minix .endif # defined(__MINIX) .if ${MKKMOD} != "no" OBSOLETE.files+= modules @@ -485,6 +490,7 @@ release snapshot: .PHONY .MAKE check_DESTDIR check_RELEASEDIR snap_md_post ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel '*.gz' +.if !defined(__MINIX) # iso-image -- # Standalone target to create a CDROM image after the release # was composed. Should be run after "make release" in src and xsrc. @@ -571,6 +577,7 @@ install-image: .PHONY check_DESTDIR check_RELEASEDIR ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib install_image \ INSTIMG_RELEASEDIR=${INSTIMG_RELEASEDIR} ${MAKESUMS} -t ${INSTIMG_RELEASEDIR} '*.img.gz' +.endif # !defined(__MINIX) # snap_pre -- # Create ${RELEASEDIR} and necessary subdirectories.