aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.base.sh
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-05-18 19:16:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-18 20:10:59 +0000
commit18a87b11315f59ba02a924fb63c0b24bde02a9ca (patch)
tree059b7c0ad861deedbd77ad319926794ca3778841 /scripts/mkimg.base.sh
parent8612a1bab6e8f32ae3f8bc21e176dfd257d33396 (diff)
downloadaports-18a87b11315f59ba02a924fb63c0b24bde02a9ca.tar.gz
aports-18a87b11315f59ba02a924fb63c0b24bde02a9ca.tar.bz2
aports-18a87b11315f59ba02a924fb63c0b24bde02a9ca.tar.xz
scripts/mkimg.base.sh: add console=hvc0 for ppc64le grub config
set console=hvc0 via boot option. This configuration make init to add hvc0 to /etc/inittab and /etc/securetty. This is needed to allow login with 'root' user.
Diffstat (limited to 'scripts/mkimg.base.sh')
-rwxr-xr-xscripts/mkimg.base.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh
index bcfcc7168e..ccbb188045 100755
--- a/scripts/mkimg.base.sh
+++ b/scripts/mkimg.base.sh
@@ -193,6 +193,7 @@ build_grubefi_img() {
section_grubieee1275() {
[ "$ARCH" = ppc64le ] || return 0
[ "$output_format" = "iso" ] || return 0
+ kernel_cmdline="$kernel_cmdline console=hvc0"
build_section grub_cfg boot/grub/grub.cfg $(grub_gen_config | checksum)
}