diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-09 22:37:15 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-09 22:37:15 +0200 |
commit | 0d54152549b33af43e169892a88d398c1249a2fe (patch) | |
tree | d19c0be9d97e55fdefa66cdd0e15593d8f3c8ef2 | |
parent | ce0ee8a712a42851fe35facf06bf614aa8cc1baf (diff) | |
download | imagefish-0d54152549b33af43e169892a88d398c1249a2fe.tar.gz |
drop bootloader hacks
-rwxr-xr-x | scripts/tar-to-image.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/tar-to-image.sh b/scripts/tar-to-image.sh index e910b1f..8c6b54c 100755 --- a/scripts/tar-to-image.sh +++ b/scripts/tar-to-image.sh @@ -381,10 +381,6 @@ EOF echo "### rebuilding initramfs" fish command "dracut --force /boot/initramfs-${kver}.img ${kver}" - - # HACK: kraxel's kernel-main.rpm scripts look at this - echo "### add /boot/cmdline.txt" - fish write /boot/cmdline.txt "$cmdline" } function fish_extlinux_rpi64() { @@ -412,19 +408,6 @@ EOF echo "### rebuilding initramfs" fish command "dracut --force /boot/initramfs-${kver}.img ${kver}" - - # HACK: kraxel's kernel-main.rpm scripts look at this - echo "### add /boot/cmdline.txt" - fish write /boot/cmdline.txt "$cmdline" - - # HACK: 64bit u-boot can't deal with compressed (gzip) kernels. - # WARN: kernel updates do NOT "just work" b/c of this. - case "$kernel" in - vmlinuz-*) - echo "### HACK ALERT: gunzip 64bit kernel" - fish cp /boot/vmlinuz-${kver} /boot/vmlinux-${kver}.gz - fish command "gunzip /boot/vmlinux-${kver}.gz" - esac } ###################################################################### |