xbps-casper: klibc is no more, use busybox. Bump to 0.4.0.
--HG-- extra : convert_revision : e34741c7ca155ff1150ff011057b4aa9c49b412a
This commit is contained in:
parent
ba07bfe64b
commit
45deedf294
2 changed files with 1 additions and 13 deletions
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
MP_QUIET="-q"
|
MP_QUIET="-q"
|
||||||
|
|
||||||
if [ ! -x "/bin/fstype" ]; then
|
|
||||||
# klibc not in path -> not in initramfs
|
|
||||||
export PATH="${PATH}:/usr/lib/klibc/bin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sys2dev() {
|
sys2dev() {
|
||||||
sysdev=${1#/sys}
|
sysdev=${1#/sys}
|
||||||
echo "/dev/$(/sbin/udevadm info -q name -p ${sysdev} 2>/dev/null|| echo ${sysdev##*/})"
|
echo "/dev/$(/sbin/udevadm info -q name -p ${sysdev} 2>/dev/null|| echo ${sysdev##*/})"
|
||||||
|
@ -35,13 +30,6 @@ is_supported_fs () {
|
||||||
}
|
}
|
||||||
|
|
||||||
get_fstype() {
|
get_fstype() {
|
||||||
local FSTYPE
|
|
||||||
local FSSIZE
|
|
||||||
eval $(fstype < $1)
|
|
||||||
if [ "$FSTYPE" != "unknown" ]; then
|
|
||||||
echo $FSTYPE
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
/sbin/blkid -s TYPE -o value $1 2>/dev/null
|
/sbin/blkid -s TYPE -o value $1 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-casper'
|
# Template file for 'xbps-casper'
|
||||||
pkgname=xbps-casper
|
pkgname=xbps-casper
|
||||||
version=0.3.1
|
version=0.4.0
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="Run a live preinstalled system from read-only media"
|
short_desc="Run a live preinstalled system from read-only media"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
Loading…
Reference in a new issue