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
122MENU LABEL Boot Void GNU/Linux ${kver} ($(uname -m))122MENU LABEL Boot Void GNU/Linux ${kver} ($(uname -m))
123KERNEL vmlinuz123KERNEL vmlinuz
124APPEND initrd=initrd.lz root=live:CDLABEL=VoidLinux-live-$(uname -m)-${kver} \124APPEND 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 \
126 vconsole.keymap=${KEYMAP} vconsole.unicode=1 locale.LANG=${LOCALE}126 vconsole.keymap=${KEYMAP} vconsole.unicode=1 locale.LANG=${LOCALE}
127LABEL c127LABEL c
128MENU LABEL Boot first HD found by BIOS128MENU LABEL Boot first HD found by BIOS
@@ -349,10 +349,6 @@ cat > $ROOTFS/etc/xbps/local-repos.conf <<_EOF · 220 unmodified lines
349repositories = {349repositories = {
350 # XBPS >= 0.16350 # XBPS >= 0.16
351 /packages,351 /packages,
352 # XBPS < 0.16
353 /packages/noarch,
354 /packages/i686,
355 /packages/x86_64
356}352}
357_EOF353_EOF
358# Generate a conf for remote repositories.354# Generate a conf for remote repositories.
@@ -362,13 +358,6 @@ repositories = { · 3 unmodified lines
362 http://xbps.hosting-unlimited.org/binpkgs,358 http://xbps.hosting-unlimited.org/binpkgs,
363 http://xbps.goodluckwith.us/binpkgs,359 http://xbps.goodluckwith.us/binpkgs,
364 http://xbps.nopcode.org/repos/current,360 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
372}361}
373_EOF362_EOF
374chmod 644 $ROOTFS/etc/xbps/*.conf || error_out $?363chmod 644 $ROOTFS/etc/xbps/*.conf || error_out $?
@@ -406,6 +395,9 @@ _blkid=$(which blkid) · 31 unmodified lines
406install -Dm755 ${_lsblk} "$ROOTFS/usr/bin/lsblk" || error_out $?395install -Dm755 ${_lsblk} "$ROOTFS/usr/bin/lsblk" || error_out $?
407install -Dm755 ${_blkid} "$ROOTFS/sbin/blkid" || error_out $?396install -Dm755 ${_blkid} "$ROOTFS/sbin/blkid" || error_out $?
408 397
398# install mount from util-linux.
399install -Dm755 /bin/mount "$ROOTFS/bin/mount" || error_out $?
400
409#401#
410# The pseudofs aren't needed anymore in target rootfs.402# The pseudofs aren't needed anymore in target rootfs.
411#403#

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