Commit 5dc7a6df authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-disk: support for vserver kernel

parent d2dd5ae6
...@@ -138,7 +138,11 @@ install_mounted_root() { ...@@ -138,7 +138,11 @@ install_mounted_root() {
local apkflags="--quiet --progress --update-cache --clean-protected" local apkflags="--quiet --progress --update-cache --clean-protected"
local pkgs=$(cat "$mnt"/var/lib/apk/world) local pkgs=$(cat "$mnt"/var/lib/apk/world)
pkgs="$pkgs acct linux-grsec alpine-base" local kernelpkg=linux-grsec
case "$(uname -r)" in
*-vs[0-9]*) kernelpkg=linux-vserver;;
pkgs="$pkgs acct $kernelpkg alpine-base"
local repos=$(sed -e 's/\#.*//' /etc/apk/repositories) local repos=$(sed -e 's/\#.*//' /etc/apk/repositories)
local repoflags= local repoflags=
for i in $repos; do for i in $repos; do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment