summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2023-01-24 11:39:18 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2023-01-24 10:41:58 +0000
commitb6fe014751d0702ab6f7766933b74dbbc7dc93bf (patch)
treed73f462fc5a52c4ab63a5223b5586cf3ce014f41 /setup-disk.in
parent4abe368206e79cfed88af3edfb15321439e0b763 (diff)
downloadalpine-conf-b6fe014751d0702ab6f7766933b74dbbc7dc93bf.zip
setup-disk: use `openrc` instead of `rc`
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 1f70835..28ef857 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -680,7 +680,7 @@ install_mounted_root() {
"$mnt"/var/lib/apk/world 2>/dev/null)"
pkgs="$pkgs acct linux-$KERNEL_FLAVOR alpine-base $(select_bootloader_pkg) $(select_firmware_pkgs)"
- if [ "$(rc --sys)" = "XEN0" ]; then
+ if [ "$(openrc --sys)" = "XEN0" ]; then
pkgs="$pkgs xen-hypervisor"
fi
if is_rpi; then