summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-cd6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-cd b/build-cd
index 0c76213..323a777 100755
--- a/build-cd
+++ b/build-cd
@@ -1,7 +1,7 @@
#!/bin/sh
-def_arch=x86_64
-def_kernel=4.6
+def_arch=$(uname -m)
+def_kernel=4.4
declare -r PROGNAME=$(basename $0)
@@ -110,7 +110,7 @@ mkdir squashroot-$ARCH
printf '\033[01;32m * \033[37mInstalling base system to squash root...\033[00;39m\n'
-apk --arch $ARCH -X "https://distfiles.adelielinux.org/adelie/1.0-alpha/$EXTRA_MIRROR" -U --allow-untrusted --root squashroot-$ARCH --initdb add shadow libffi adelie-base bash openrc openrc-openrc hwids eudev udev-init-scripts-openrc parted lvm2-openrc easy-kernel-modules easy-kernel-firmware dhcpcd net-tools ca-certificates
+apk --arch $ARCH -X "https://distfiles.adelielinux.org/adelie/1.0-alpha/$EXTRA_MIRROR" -U --allow-untrusted --root squashroot-$ARCH --initdb add shadow libffi adelie-base bash openrc openrc-openrc hwids eudev udev-init-scripts-openrc parted lvm2-openrc easy-kernel-modules easy-kernel-firmware dhcpcd net-tools ca-certificates rfkill wireless-tools
mkdir -p squashroot-$ARCH/etc/apk/keys
mkdir -p squashroot-$ARCH/home/live
mkdir squashroot-$ARCH/target