Magellan Linux

Contents of /smage/trunk/core/util-linux/alx/util-linux.custom

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1487 - (show annotations) (download)
Tue Dec 29 20:02:25 2009 UTC (14 years, 5 months ago) by niro
File size: 673 byte(s)
-fixed dependencies
1 # $Id$
2
3 # remove sed dep
4 SDEPEND=$(echo "${SDEPEND}" | sed '/sys-apps\/sed/d')
5
6 alx_livecd_pkgbuild()
7 {
8 echo -e ${COLGREEN}" Using custom alx_livecd_pkgbuild"${COLDEFAULT}
9
10 # first delete totally uneeded stuff
11 rm -rf ${BINDIR}/etc || die
12 rm -rf ${BINDIR}/usr/include || die
13 rm -rf ${BINDIR}/usr/share || die
14 rm -rf ${BINDIR}/usr/sbin || die
15
16 zapmost ${BINDIR}/bin dmesg more mount umount || die
17
18 # livecd needs also cfdisk fdisk mkfs mkfs.* mkswap sfdisk losetup
19 zapmost ${BINDIR}/sbin agetty ctrlaltdel hwclock pivot_root swapon swapoff \
20 cfdisk fdisk mkfs mkfs.* mkswap sfdisk losetup || die
21 zapmost ${BINDIR}/usr/bin col* mcookie setterm whereis || die
22 }