1
0

Clean build process for BananaPro

This commit is contained in:
Jybz 2019-12-19 20:01:36 +01:00
parent d69cbea692
commit 1a545d74b3

View File

@ -99,13 +99,13 @@ ln -r -s "${VMLINUZ}" /boot/uvmlinuz
################################
## Create the extlinux script ##
################################
echo -e "\nTrying to generate extlinux script\n"
# echo -e "\nTrying to generate extlinux script\n"
K_INST_VERSION=$(rpm -q kernel-desktop-latest | sed -e 's/kernel-\([[:alnum:]]*\)-latest-\([\.[:digit:]]*\)-\([\.[:alnum:]]*\).*$/\2-\1-\3/')
# /sbin/installkernel %{kversion}-$kernel_flavour-%{buildrpmrel}
# bash -x /sbin/installkernel ${K_INST_VERSION}
perl -d /usr/sbin/bootloader-config --kernel-version ${K_INST_VERSION} --initrd-options '' --action add-kernel
echo -e "\nEnd trying to generate extlinux script with errcode ${?}\n"
# perl -d /usr/sbin/bootloader-config --kernel-version ${K_INST_VERSION} --initrd-options '' --action add-kernel
/usr/sbin/bootloader-config --kernel-version ${K_INST_VERSION} --initrd-options '' --action add-kernel
# echo -e "\nEnd trying to generate extlinux script with errcode ${?}\n"
/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony