Clean build process for BananaPro
This commit is contained in:
parent
d69cbea692
commit
1a545d74b3
@ -99,13 +99,13 @@ ln -r -s "${VMLINUZ}" /boot/uvmlinuz
|
|||||||
################################
|
################################
|
||||||
## Create the extlinux script ##
|
## 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/')
|
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}
|
# /sbin/installkernel %{kversion}-$kernel_flavour-%{buildrpmrel}
|
||||||
# bash -x /sbin/installkernel ${K_INST_VERSION}
|
# bash -x /sbin/installkernel ${K_INST_VERSION}
|
||||||
perl -d /usr/sbin/bootloader-config --kernel-version ${K_INST_VERSION} --initrd-options '' --action add-kernel
|
# 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"
|
# echo -e "\nEnd trying to generate extlinux script with errcode ${?}\n"
|
||||||
|
|
||||||
|
|
||||||
/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony
|
/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony
|
||||||
|
Reference in New Issue
Block a user