History

mklive: require xbps>=0.16, install mount(8) from util-linux, set loglevel=4.

Juan RP committed 14 years ago

Commit bfbaa4a1 parent 9457e651 file · +4 −12Browse files

Unified · Split

mklive.sh.in+4−12
@@ -122,7 +122,7 @@ LABEL linux · 121 unmodified lines
122122 MENU LABEL Boot Void GNU/Linux ${kver} ($(uname -m))
123123 KERNEL vmlinuz
124124 APPEND initrd=initrd.lz root=live:CDLABEL=VoidLinux-live-$(uname -m)-${kver} \
125− rootfstype=auto ro liveimg rd.luks=0 rd.md=0 rd.dm=0 \
125+ rootfstype=auto ro liveimg rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 \
126126 vconsole.keymap=${KEYMAP} vconsole.unicode=1 locale.LANG=${LOCALE}
127127 LABEL c
128128 MENU LABEL Boot first HD found by BIOS
@@ -349,10 +349,6 @@ cat > $ROOTFS/etc/xbps/local-repos.conf <<_EOF · 220 unmodified lines
349349 repositories = {
350350 # XBPS >= 0.16
351351 /packages,
352− # XBPS < 0.16
353− /packages/noarch,
354− /packages/i686,
355− /packages/x86_64
356352 }
357353 _EOF
358354 # Generate a conf for remote repositories.
@@ -362,13 +358,6 @@ repositories = { · 3 unmodified lines
362358 http://xbps.hosting-unlimited.org/binpkgs,
363359 http://xbps.goodluckwith.us/binpkgs,
364360 http://xbps.nopcode.org/repos/current,
365− # XBPS < 0.16
366− http://xbps.goodluckwith.us/binpkgs/i686,
367− http://xbps.goodluckwith.us/binpkgs/noarch,
368− http://xbps.goodluckwith.us/binpkgs/nonfree/i686,
369− http://xbps.nopcode.org/repos/current/x86_64,
370− http://xbps.nopcode.org/repos/current/noarch,
371− http://xbps.nopcode.org/repos/current/nonfree/x86_64
372361 }
373362 _EOF
374363 chmod 644 $ROOTFS/etc/xbps/*.conf || error_out $?
@@ -406,6 +395,9 @@ _blkid=$(which blkid) · 31 unmodified lines
406395 install -Dm755 ${_lsblk} "$ROOTFS/usr/bin/lsblk" || error_out $?
407396 install -Dm755 ${_blkid} "$ROOTFS/sbin/blkid" || error_out $?
408397
398+# install mount from util-linux.
399+install -Dm755 /bin/mount "$ROOTFS/bin/mount" || error_out $?
400+
409401 #
410402 # The pseudofs aren't needed anymore in target rootfs.
411403 #

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t