forked from mirrored-repos/manjaro-tools
Update lib/util-iso-boot.sh
This commit is contained in:
parent
99d8f267bf
commit
5e29909aec
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ prepare_initcpio(){
|
||||||
|
|
||||||
prepare_initramfs(){
|
prepare_initramfs(){
|
||||||
cp ${DATADIR}/mkinitcpio.conf $1/etc/mkinitcpio-${iso_name}.conf
|
cp ${DATADIR}/mkinitcpio.conf $1/etc/mkinitcpio-${iso_name}.conf
|
||||||
local _kernver=$(cat $1/usr/lib/modules/*/version)
|
local _kernver=$(cat $1/usr/lib/modules/*/kernelbase | awk -F'-' '{print $1}')
|
||||||
if [[ -n ${gpgkey} ]]; then
|
if [[ -n ${gpgkey} ]]; then
|
||||||
su ${OWNER} -c "gpg --export ${gpgkey} >${USERCONFDIR}/gpgkey"
|
su ${OWNER} -c "gpg --export ${gpgkey} >${USERCONFDIR}/gpgkey"
|
||||||
exec 17<>${USERCONFDIR}/gpgkey
|
exec 17<>${USERCONFDIR}/gpgkey
|
||||||
|
|
Loading…
Reference in a new issue