805b5f9551
Changes: o cdboot support on NetBSD >=4.0 (-current). o Availability to choose the bootloader through a new option: USE_GNU_GRUB (by default yes). o When using GRUB as the bootloader, it is possible to build and install multiple kernels with the target "kernel", it will install the kernels into the ISO image and the menu.lst file will be modified automatically, see MULTIPLE_KERNELS (mklivecd(8)). o Various misc fixes. o Now /dev uses optimum values for not wasting space. o Added -k flag, that accepts a kernel as argument. To build an additional kernel without looking at the config file.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2005/07/29 12:13:01 xtraeme Exp $
|
|
|
|
DISTNAME= mklivecd-0.12.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
|
COMMENT= Make your own NetBSD/i386 Live CD-ROM/DVD-ROM
|
|
|
|
DEPENDS+= {cdrecord,cdrtools-ossdvd}-[0-9]*:../../sysutils/cdrecord
|
|
#DEPENDS+= grub>=0.96:../../sysutils/grub
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= YES
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
USE_TOOLS+= tar
|
|
|
|
INSTALLATION_DIRS= man/man8 sbin share/mklivecd
|
|
|
|
FILES= KERN-LIVECD personal_config
|
|
|
|
do-install:
|
|
.for f in mfs_rcd mklivecd.sh mklivecd.8
|
|
@${SED} -e "s,@PREFIX@,${PREFIX},g" \
|
|
-e "s,@LOCALBASE@,${LOCALBASE},g" \
|
|
-e "s,@TAR@,${TAR},g" \
|
|
-e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \
|
|
${FILESDIR}/${f} > ${WRKDIR}/${f}
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/mklivecd
|
|
${INSTALL_SCRIPT} ${WRKDIR}/mklivecd.sh ${PREFIX}/sbin/mklivecd
|
|
${INSTALL_MAN} ${WRKDIR}/mklivecd.8 ${PREFIX}/man/man8
|
|
${INSTALL_DATA} ${WRKDIR}/mfs_rcd ${PREFIX}/share/mklivecd
|
|
.for F in ${FILES}
|
|
${INSTALL_DATA} ${FILESDIR}/${F} ${PREFIX}/share/mklivecd
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|