File: 10-replace-partition.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 (25 lines) | stat: -rw-r--r-- 714 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
if [ -z "${DISTRO_NAME:-}" ]; then
    echo "DISTRO_NAME is not set! Can not continue"
    exit 1
fi
if [ -z "${DIB_RELEASE:-}" ]; then
    echo "DIB_RELEASE is not set! Can not continue"
    exit 1
fi
if [ -z "${EFI_BOOT_DIR:-}" ]; then
    echo "EFI_BOOT_DIR is not set! Can not continue"
    exit 1
fi
if [ -z "${DIB_INIT_SYSTEM:-}" ]; then
    echo "DIB_INIT_SYSTEM is not set! Can not continue"
    exit 1
fi
if [ -z "${DIB_BLOCK_DEVICE:-}" ]; then
    echo "DIB_BLOCK_DEVICE is not set! Can not continue"
    exit 1
fi
export DIB_SKIP_GRUB_PACKAGE_INSTALL=True
export DIB_SKIP_BASE_PACKAGE_INSTALL=1
export DIB_AVOID_PACKAGES_UPDATE=1
export DIB_IMAGE_EXTRACT_GUESTFISH=True
export DIB_SOURCE_BLOCK_SIZE=512