diff options
author | Juan RP <xtraeme@gmail.com> | 2012-07-03 17:22:25 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2012-07-03 17:22:25 +0200 |
commit | bfbaa4a63bbec9c7b962d8573e8af78ed4cebf72 (patch) | |
tree | c32d079ef6337fa699983d34a906ea405d8523ed /mklive.sh.in | |
parent | 9457e65391fd5097ce8f12fe9db9b1ad3bce5045 (diff) | |
download | hrmpf-bfbaa4a63bbec9c7b962d8573e8af78ed4cebf72.tar.gz hrmpf-bfbaa4a63bbec9c7b962d8573e8af78ed4cebf72.tar.xz hrmpf-bfbaa4a63bbec9c7b962d8573e8af78ed4cebf72.zip |
mklive: require xbps>=0.16, install mount(8) from util-linux, set loglevel=4.
Diffstat (limited to 'mklive.sh.in')
-rw-r--r-- | mklive.sh.in | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/mklive.sh.in b/mklive.sh.in index 8fbc828..c16495e 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -122,7 +122,7 @@ LABEL linux MENU LABEL Boot Void GNU/Linux ${kver} ($(uname -m)) KERNEL vmlinuz APPEND initrd=initrd.lz root=live:CDLABEL=VoidLinux-live-$(uname -m)-${kver} \ - rootfstype=auto ro liveimg rd.luks=0 rd.md=0 rd.dm=0 \ + rootfstype=auto ro liveimg rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 \ vconsole.keymap=${KEYMAP} vconsole.unicode=1 locale.LANG=${LOCALE} LABEL c MENU LABEL Boot first HD found by BIOS @@ -349,10 +349,6 @@ cat > $ROOTFS/etc/xbps/local-repos.conf <<_EOF repositories = { # XBPS >= 0.16 /packages, - # XBPS < 0.16 - /packages/noarch, - /packages/i686, - /packages/x86_64 } _EOF # Generate a conf for remote repositories. @@ -362,13 +358,6 @@ repositories = { http://xbps.hosting-unlimited.org/binpkgs, http://xbps.goodluckwith.us/binpkgs, http://xbps.nopcode.org/repos/current, - # XBPS < 0.16 - http://xbps.goodluckwith.us/binpkgs/i686, - http://xbps.goodluckwith.us/binpkgs/noarch, - http://xbps.goodluckwith.us/binpkgs/nonfree/i686, - http://xbps.nopcode.org/repos/current/x86_64, - http://xbps.nopcode.org/repos/current/noarch, - http://xbps.nopcode.org/repos/current/nonfree/x86_64 } _EOF chmod 644 $ROOTFS/etc/xbps/*.conf || error_out $? @@ -406,6 +395,9 @@ _blkid=$(which blkid) install -Dm755 ${_lsblk} "$ROOTFS/usr/bin/lsblk" || error_out $? install -Dm755 ${_blkid} "$ROOTFS/sbin/blkid" || error_out $? +# install mount from util-linux. +install -Dm755 /bin/mount "$ROOTFS/bin/mount" || error_out $? + # # The pseudofs aren't needed anymore in target rootfs. # |