From 8b936e4ad749eb127afde54d7c90c54b956c001a Mon Sep 17 00:00:00 2001 From: simono41 Date: Wed, 25 Apr 2018 10:03:29 +0200 Subject: [PATCH] fix --- .gitignore | 1 + make_mksquashfs-auto.sh | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c95b799..fdb527a 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/lite/ /out/ /work/ ArchLinuxARM-rpi-2-latest.tar.gz diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 792fb69..2803575 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -135,7 +135,11 @@ function system() { echo "COMPRESSION=\"lz4\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf echo "FILES=\"/etc/modprobe.d/blacklist-floppy.conf\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf - ./arch-chroot ${work_dir}/${arch}/airootfs mkinitcpio -p linux-libre + if [ "${version}" == "libre" ]; then + ./arch-chroot ${work_dir}/${arch}/airootfs mkinitcpio -p linux-libre + else + ./arch-chroot ${work_dir}/${arch}/airootfs mkinitcpio -p linux + fi else #echo "MODULES=\"i915 radeon ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf