aboutsummaryrefslogtreecommitdiffstats
path: root/rpi/second_stage_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rpi/second_stage_install.sh')
-rw-r--r--rpi/second_stage_install.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpi/second_stage_install.sh b/rpi/second_stage_install.sh
index d8d92ef..a22a8fe 100644
--- a/rpi/second_stage_install.sh
+++ b/rpi/second_stage_install.sh
@@ -23,7 +23,7 @@
#Install all packages you need
# No verifying rpm due to a bug in packages, some are not signed
-/usr/sbin/urpmi --auto --no-verify-rpm basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make dracut u-boot-tools bcm283x-firmware rsync
+/usr/sbin/urpmi --auto --no-verify-rpm basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make dracut u-boot rsync kernel-desktop-latest
/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony
@@ -36,3 +36,6 @@
KV=`basename /boot/vmlinuz-*`
KV=${KV#vmlinuz-}
dracut --kver $KV
+rm -f $0
+cp /boot/vmlinuz-* /boot/vmlinuz
+cp /boot/initrd-* /boot/initrd