fix
This commit is contained in:
parent
ee744f2040
commit
4244c4cacc
4 changed files with 3 additions and 5 deletions
|
@ -799,7 +799,7 @@ function systemdboot() {
|
|||
|
||||
#rootsub=$(btrfs subvolume list /mnt | awk 'NR<0 && NR>2 {print $2}')
|
||||
if [ "${version}" == "manjaro" ]; then
|
||||
kernel1="$(echo $(find /boot/ -name "initramfs*.img") | cut -d" " -f4)"
|
||||
kernel1="$(echo $(find /boot/ -name "initramfs*.img") | cut -d" " -f2)"
|
||||
linuz1="$(echo $(find /boot/ -name "vmlinuz*") | cut -d" " -f2)"
|
||||
kernel="${kernel1#/*/}"
|
||||
linuz="${linuz1#/*/}"
|
||||
|
|
|
@ -211,7 +211,7 @@ function BIOS() {
|
|||
|
||||
cp -R ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/* ${work_dir}/iso/${install_dir}/boot/syslinux/
|
||||
|
||||
cp "$(echo $(find /boot/ -name "${work_dir}/${arch}/airootfs/boot/initramfs*.img") | cut -d" " -f4)" ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img
|
||||
cp "$(echo $(find /boot/ -name "${work_dir}/${arch}/airootfs/boot/initramfs*.img") | cut -d" " -f2)" ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img
|
||||
cp "$(echo $(find /boot/ -name "${work_dir}/${arch}/airootfs/boot/vmlinuz-linux*") | cut -d" " -f2)" ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz
|
||||
|
||||
cp ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/isolinux.bin ${work_dir}/iso/isolinux/
|
||||
|
|
|
@ -664,8 +664,6 @@ lightdm-gtk-greeter-settings
|
|||
links
|
||||
linux-api-headers
|
||||
linux-firmware
|
||||
linux316
|
||||
linux316-nvidia
|
||||
linux414
|
||||
linux414-nvidia
|
||||
lirc
|
||||
|
|
|
@ -44,7 +44,7 @@ if [ "make" == "$1" ]; then
|
|||
#stable-snapshot-boot
|
||||
if [ -f "/boot/arch-uefi.conf.example" ] && [ "${rootsnapshot}" == "y" ]; then
|
||||
|
||||
cp "$(echo $(find /boot/ -name "initramfs*.img") | cut -d" " -f4)" /boot/initramfs-linux-1.00-$(uname -m).img
|
||||
cp "$(echo $(find /boot/ -name "initramfs*.img") | cut -d" " -f2)" /boot/initramfs-linux-1.00-$(uname -m).img
|
||||
cp "$(echo $(find /boot/ -name "vmlinuz*") | cut -d" " -f2)" /boot/vmlinuz-1.00-$(uname -m)
|
||||
|
||||
kernel1="$(echo $(find /boot/ -name "initramfs*-1.00.img") | cut -d" " -f2)"
|
||||
|
|
Loading…
Reference in a new issue