Create memstick images with the '.img' filename extension.
Requested by: many Approved by: kib (mentor) MFC after: 3 days X-MFC-To: stable/9 only
This commit is contained in:
parent
f5937ee8e6
commit
3c334738ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253513
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# User-driven targets:
|
# User-driven targets:
|
||||||
# cdrom: Builds release CD-ROM media (release.iso)
|
# cdrom: Builds release CD-ROM media (release.iso)
|
||||||
# memstick: Builds memory stick image (memstick)
|
# memstick: Builds memory stick image (memstick.img)
|
||||||
# ftp: Sets up FTP distribution area (ftp)
|
# ftp: Sets up FTP distribution area (ftp)
|
||||||
# release: Build all media and FTP distribution area
|
# release: Build all media and FTP distribution area
|
||||||
# install: Copies all release media into ${DESTDIR}
|
# install: Copies all release media into ${DESTDIR}
|
||||||
@ -73,8 +73,8 @@ RELEASE_TARGETS+= cdrom
|
|||||||
IMAGES+= release.iso bootonly.iso
|
IMAGES+= release.iso bootonly.iso
|
||||||
.endif
|
.endif
|
||||||
.if exists(${.CURDIR}/${TARGET}/make-memstick.sh)
|
.if exists(${.CURDIR}/${TARGET}/make-memstick.sh)
|
||||||
RELEASE_TARGETS+= memstick
|
RELEASE_TARGETS+= memstick.img
|
||||||
IMAGES+= memstick
|
IMAGES+= memstick.img
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.obj.mk>
|
.include <bsd.obj.mk>
|
||||||
@ -167,7 +167,8 @@ release.iso: system
|
|||||||
bootonly.iso: bootonly
|
bootonly.iso: bootonly
|
||||||
sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly
|
sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly
|
||||||
|
|
||||||
memstick: system
|
memstick: memstick.img
|
||||||
|
memstick.img: system
|
||||||
sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}
|
sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}
|
||||||
|
|
||||||
packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
|
packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
|
||||||
@ -191,7 +192,7 @@ clean:
|
|||||||
rm -f *.txz MANIFEST
|
rm -f *.txz MANIFEST
|
||||||
rm -f system
|
rm -f system
|
||||||
rm -rf release bootonly
|
rm -rf release bootonly
|
||||||
rm -f release.iso bootonly.iso memstick
|
rm -f release.iso bootonly.iso memstick.img
|
||||||
|
|
||||||
install:
|
install:
|
||||||
.if defined(DESTDIR) && !empty(DESTDIR)
|
.if defined(DESTDIR) && !empty(DESTDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user