This commit is contained in:
simono41 2018-04-25 10:03:29 +02:00
parent 9b2daefce7
commit 8b936e4ad7
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/lite/
/out/
/work/
ArchLinuxARM-rpi-2-latest.tar.gz

View file

@ -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