File: 09-replace-partition-redhat.bash

package info (click to toggle)
python-diskimage-builder 3.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,572 kB
  • sloc: sh: 7,380; python: 6,444; makefile: 37
file content (12 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
if [ -z "${DISTRO_NAME:-}" ]; then
    echo "DISTRO_NAME is not set! Can not continue"
    exit 1
fi
export DIB_RELEASE=${DIB_RELEASE:-9}
if [[ $DISTRO_NAME =~ "rhel" ]]; then
    export EFI_BOOT_DIR="EFI/redhat"
else
    export EFI_BOOT_DIR="EFI/$DISTRO_NAME"
fi
export DIB_BLOCK_DEVICE=efi
export DIB_INIT_SYSTEM=systemd