Verified Commit 4818a1fd authored by Erazem Kokot's avatar Erazem Kokot
Browse files

Move custom package list to build.sh

parent a8e42a32
......@@ -8,5 +8,5 @@ ENV iscontainer="yes"
RUN pacman -Sy --noconfirm archiso mkinitcpio-archiso reflector
COPY assets /anarchy/assets
COPY src anarchy-packages.x86_64 build.sh profiledef.sh /anarchy/
COPY src build.sh profiledef.sh /anarchy/
ENTRYPOINT ["/anarchy/build.sh"]
dialog
git
networkmanager
wget
zsh-syntax-highlighting
......@@ -55,10 +55,20 @@ prepare_build_dir() {
# Set installer's hostname and console font
echo "anarchy" >"${PROFILE_DIR}"/airootfs/etc/hostname
echo "FONT=ter-v16n" >"${PROFILE_DIR}"/airootfs/etc/vconsole.conf
echo "FONT=ter-v16n" >>"${PROFILE_DIR}"/airootfs/etc/vconsole.conf
# Add anarchy packages
cat "${REPO_DIR}"/anarchy-packages.x86_64 >>"${PROFILE_DIR}"/packages.x86_64
packages=(
'dialog'
'git'
'networkmanager'
'wget'
'zsh-syntax-highlighting'
)
for package in "${packages[@]}"; do
echo "${package}" >>"${PROFILE_DIR}"/packages.x86_64
done
# Re-add custom bootloader entries
cp -f "${REPO_DIR}"/assets/splash.png "${PROFILE_DIR}"/syslinux/splash.png
......
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