summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-12-09 02:56:21 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-12-09 02:56:24 -0600
commitc4fc55864b2c43bf1993354581da19e81840c3c6 (patch)
treed504bd686b931e684179089c4e9e640e49706992
parent9acabb63bef0cdf55a2bf490edef91cb8b2f7190 (diff)
downloadimage-c4fc55864b2c43bf1993354581da19e81840c3c6.tar.gz
image-c4fc55864b2c43bf1993354581da19e81840c3c6.tar.bz2
image-c4fc55864b2c43bf1993354581da19e81840c3c6.tar.xz
image-c4fc55864b2c43bf1993354581da19e81840c3c6.zip
build-cd: Ship wireless-tools and rfkill on all media
-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