
  if [ -e /tmp/buildisoscript ] || [ -e /tmp/setup ]; then
    echo Post-install not needed in build environment
  else
    cd /boot
    if [ -x usr/bin/dracut ]; then
      dracut initramfs-6.6.144-GOS-lts --kver 6.6.144-GOS-lts 2>&1 > /dev/null
      ln -sf initramfs-6.6.144-GOS-lts initrd-lts
    else
      mkinitramfs -a -k 6.6.144-GOS-lts
      ln -sf initrd-6.6.144-GOS-lts initrd-lts
    fi
    ln -sf kernel-6.6.144-GOS-lts kernel-lts
  fi
  
