
  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-7.1.3-GOS-stable --kver 7.1.3-GOS-stable 2>&1 > /dev/null
      ln -sf initramfs-7.1.3-GOS-stable initrd-stable
    else
      mkinitramfs -a -k 7.1.3-GOS-stable
      ln -sf initrd-7.1.3-GOS-stable initrd-stable
    fi
    ln -sf kernel-7.1.3-GOS-stable kernel-stable
  fi
  
