File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,11 @@ RUN sed -i '/^\[core\]/i [archzfs]\n\
23
23
Server = http://archzfs.com/$repo/x86_64\n ' \
24
24
"${ALEZ_BUILD_DIR}/iso/pacman.conf"
25
25
26
- RUN printf 'git\n archzfs-linux\n reflector\n wget\n ' >> "${ALEZ_BUILD_DIR}/iso/packages.x86_64"
26
+ RUN printf 'git\n archzfs-linux\n reflector\n wget\n linux\n linux-firmware\n dhcpcd\n less\n mdadm' >> \
27
+ "${ALEZ_BUILD_DIR}/iso/packages.x86_64"
28
+
29
+ RUN printf '\n systemctl enable dhcpcd' >> \
30
+ "${ALEZ_BUILD_DIR}/iso/airootfs/root/customize_airootfs.sh"
27
31
28
32
COPY motd "${ALEZ_BUILD_DIR}/iso/airootfs/etc/"
29
33
Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ WIDTH=0
31
31
32
32
show_path=false
33
33
34
+ declare -a base_packages
35
+ base_packages=(
36
+ ' base' ' nano' ' linux-firmware' ' man-db' ' man-pages' ' vi' ' less'
37
+ )
38
+
34
39
declare -a zpool_bios_features
35
40
zpool_bios_features=(
36
41
' feature@lz4_compress=enabled'
@@ -245,10 +250,10 @@ install_arch(){
245
250
echo " Installing Arch base system..."
246
251
{
247
252
if [[ " ${kernel_type} " =~ ^(l| L)$ ]]; then
248
- pacman -Sg base | cut -d ' ' -f 2 | sed ' s/^ linux$/linux -lts/g ' | \
249
- pacstrap " ${installdir} " - linux-lts-headers
253
+ pacstrap " ${installdir} " linux-lts-headers linux-lts \
254
+ " ${base_packages[@]} "
250
255
else
251
- pacstrap " ${installdir} " base linux-headers
256
+ pacstrap " ${installdir} " linux-headers linux " ${base_packages[@]} "
252
257
fi
253
258
} 2> /dev/null
254
259
You can’t perform that action at this time.
0 commit comments