]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixup for non-fatal mkisofs error. 21/121/2
authorLionel Sambuc <lionel@minix3.org>
Fri, 16 Nov 2012 11:13:42 +0000 (12:13 +0100)
committerLionel Sambuc <lionel@minix3.org>
Mon, 19 Nov 2012 15:44:38 +0000 (16:44 +0100)
The corresponding rules have been commented out through .ifdef blocks.

Change-Id: I36afb75f049b39806ede1f7dd6950710826b3555

distrib/sets/lists/minix/mi
etc/Makefile

index 20a149de6c88d234c40fed15199f6fa28a0e7be2..fbd2e298aee1631b9dc16f65a8d3b4c7321350a3 100644 (file)
 ./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
index 66510d534120b5de67a936960ff4a641f05a1e95..b49bfa4578e40e933993d7ae45a2b9f4fbbff5f1 100644 (file)
@@ -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.