mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
replace MKINITCPIOCONF with CONFIG
This commit is contained in:
parent
d926cda9b0
commit
df8186b339
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ _prepare_kernel_initrd_files() {
|
||||||
fi
|
fi
|
||||||
echo "Running archboot-cpio.sh for initrd-${_ARCH}.img..."
|
echo "Running archboot-cpio.sh for initrd-${_ARCH}.img..."
|
||||||
#shellcheck disable=SC2154
|
#shellcheck disable=SC2154
|
||||||
archboot-cpio.sh -c "${MKINITCPIO_CONFIG}" -k "${KERNEL}" -g "${_ISODIR}/boot/initrd-${_ARCH}.img" || exit 1
|
archboot-cpio.sh -c "${_CONFIG}" -k "${KERNEL}" -g "${_ISODIR}/boot/initrd-${_ARCH}.img" || exit 1
|
||||||
# delete cachedir on archboot environment
|
# delete cachedir on archboot environment
|
||||||
if grep -qw 'archboot' /etc/hostname; then
|
if grep -qw 'archboot' /etc/hostname; then
|
||||||
if [[ -d "${_CACHEDIR}" ]]; then
|
if [[ -d "${_CACHEDIR}" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue