mkinitcpio: improve consistency of relative paths in kernel hooks
This commit is contained in:
parent
ce3e0eb42e
commit
b8cdf2c27d
|
@ -7,9 +7,9 @@
|
|||
PKGNAME="$1"
|
||||
VERSION="$2"
|
||||
|
||||
if [ ! -x bin/mkinitcpio ]; then
|
||||
if [ ! -x usr/bin/mkinitcpio ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkinitcpio -g boot/initramfs-${VERSION}.img -k ${VERSION}
|
||||
usr/bin/mkinitcpio -g boot/initramfs-${VERSION}.img -k ${VERSION}
|
||||
exit $?
|
||||
|
|
|
@ -7,7 +7,5 @@
|
|||
PKGNAME="$1"
|
||||
VERSION="$2"
|
||||
|
||||
if [ -f /boot/initramfs-${VERSION}.img ]; then
|
||||
rm -f /boot/initramfs-${VERSION}.img
|
||||
fi
|
||||
rm -f boot/initramfs-${VERSION}.img
|
||||
exit $?
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mkinitcpio'
|
||||
pkgname=mkinitcpio
|
||||
version=27
|
||||
revision=1
|
||||
revision=2
|
||||
archs=noarch
|
||||
build_style=gnu-makefile
|
||||
depends="busybox-static bsdtar bash"
|
||||
|
|
Loading…
Reference in New Issue