aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.base.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-08 07:06:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-11 18:49:42 +0000
commit79f771260719243d28b4732989be6e442df0b5f6 (patch)
tree3415b9ff7cfd27049ed0e1f94d89ba781d65cdd3 /scripts/mkimg.base.sh
parent2fed215855d86ade153a701301981d8e26ef6351 (diff)
downloadaports-79f771260719243d28b4732989be6e442df0b5f6.tar.bz2
aports-79f771260719243d28b4732989be6e442df0b5f6.tar.xz
scripts/mkimg: shorten volume id of iso image
The volume id cannot be longer than 32 bytes so we need to shorten it a bit
Diffstat (limited to 'scripts/mkimg.base.sh')
-rwxr-xr-xscripts/mkimg.base.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh
index 04897eaa19..1949f481ab 100755
--- a/scripts/mkimg.base.sh
+++ b/scripts/mkimg.base.sh
@@ -255,7 +255,7 @@ create_image_iso() {
if [ "$ARCH" = ppc64le ]; then
grub-mkrescue --output ${ISO} ${DESTDIR} -follow-links \
-sysid LINUX \
- -volid "alpine-$PROFILE $RELEASE $ARCH"
+ -volid "alpine-${profile_abbrev:-$PROFILE} $RELEASE $ARCH"
else
xorrisofs \
-quiet \
@@ -264,7 +264,7 @@ create_image_iso() {
-joliet \
-rational-rock \
-sysid LINUX \
- -volid "alpine-$PROFILE $RELEASE $ARCH" \
+ -volid "alpine-${profile_abbrev:-$PROFILE} $RELEASE $ARCH" \
$_isolinux \
$_efiboot \
-follow-links \