Fix plank installer make kernel_inject work properly

This commit is contained in:
SolidHal 2018-09-15 15:19:54 -05:00
parent 2152579c22
commit 0d193eb6fd
2 changed files with 6 additions and 3 deletions

View File

@ -33,7 +33,7 @@ apt install -y wicd-daemon wicd wicd-curses wicd-gtk
#Make plank autostart #Make plank autostart
[ "$DE" = "xfce" ] && mkdir -p /etc/xdg/autostart/ [ "$DE" = "xfce" ] && mkdir -p /etc/xdg/autostart/
[ "$DE" = "xfce" ] && cp $DIR/plank/plank.desktop /etc/xdg/autostart/ [ "$DE" = "xfce" ] && cp $DIR/xfce-config/plank/plank.desktop /etc/xdg/autostart/
#Copy in acpi, pulse audio, trackpad settings, funtion key settings #Copy in acpi, pulse audio, trackpad settings, funtion key settings

View File

@ -33,11 +33,14 @@ mount -o noatime ${outdev}p2 $outmnt
# put the kernel in the kernel partition, modules in /lib/modules and AR9271 # put the kernel in the kernel partition, modules in /lib/modules and AR9271
# firmware in /lib/firmware # firmware in /lib/firmware
dd if=$resources/blank_kernel of=${outdev}p1 conv=notrunc dd if=$build_resources/blank_kernel of=${outdev}p1 conv=notrunc
dd if=build/linux-$KVER/vmlinux.kpart of=${outdev}p1 conv=notrunc dd if=build/linux-$KVER/vmlinux.kpart of=${outdev}p1 conv=notrunc
make -C build/linux-$KVER ARCH=arm INSTALL_MOD_PATH=$outmnt modules_install make -C build/linux-$KVER ARCH=arm INSTALL_MOD_PATH=$outmnt modules_install
rm -f $outmnt/lib/modules/3.14.0/{build,source} rm -f $outmnt/lib/modules/3.14.0/{build,source}
install -D -m 644 build/open-ath9k-htc-firmware/target_firmware/htc_9271.fw $outmnt/lib/firmware/ath9k_htc/htc_9271-1.4.0.fw install -D -m 644 build/open-ath9k-htc-firmware/target_firmware/htc_9271.fw $outmnt/lib/firmware/ath9k_htc/htc_9271-1.4.0.fw
umount -l $outmnt > /dev/null 2>&1
rmdir $outmnt > /dev/null 2>&1
losetup -d $outdev > /dev/null 2>&1
echo "DONE!" echo "DONE!"
cleanup trap - INT TERM EXIT