Installing calibre/vlc as secondary tools in Debian/RPi images. Naming Debian image after WROLPi version.

This commit is contained in:
Roland 2023-10-09 12:00:51 -06:00
parent ea07064c6b
commit 6252022932
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
4 changed files with 14 additions and 5 deletions

View file

@ -1,4 +1,5 @@
#!/bin/bash
# https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
BUILD_DIR=/tmp/wrolpi-build
@ -11,8 +12,10 @@ if [ $EUID != 0 ]; then
exit $?
fi
[ -f "${SCRIPT_DIR}/config/includes.chroot/opt/wrolpi-blobs/gis-map.dump.gz" ] || \
(echo "config/includes.chroot/opt/wrolpi-blobs/gis-map.dump.gz does not exist!" && exit 1)
if [ ! -f "${SCRIPT_DIR}/config/includes.chroot/opt/wrolpi-blobs/gis-map.dump.gz" ]; then
echo "config/includes.chroot/opt/wrolpi-blobs/gis-map.dump.gz does not exist!"
exit 1
fi
# Clear out old builds.
[ -d "${BUILD_DIR}" ] && rm -rf "${BUILD_DIR}"
@ -51,3 +54,8 @@ lb build 2>&1 | tee "${SCRIPT_DIR}/build.log"
cp "${BUILD_DIR}"/*iso "${SCRIPT_DIR}/" || (echo "Build failed. No ISOs were found!" && exit 1)
chmod 644 "${SCRIPT_DIR}"/*iso
DEST="${SCRIPT_DIR}/WROLPi-v${VERSION}-amd64.iso"
[ -f "${DEST}" ] && (echo "Removing conflicting ISO" && rm "${DEST}")
mv "${SCRIPT_DIR}"/*.iso "${DEST}"
echo "Build has completed. ISO output ${DEST}"

View file

@ -13,9 +13,6 @@ git --version
git clone -b master https://github.com/lrnselfreliance/wrolpi.git /opt/wrolpi
# Install dependencies.
apt-get install -y < /opt/wrolpi/debian-live-config/config/package-lists/wrolpi.list.chroot
# Install webapp.
cd /opt/wrolpi/app
npm --version

View file

@ -78,6 +78,7 @@ python3-minimal
python3-pip
python3-venv
renderd
rsync
software-properties-common
sudo
tar

View file

@ -5,6 +5,7 @@ autoconf
build-essential
bzip2
ca-certificates
calibre
cargo
chromium-browser
chromium-chromedriver
@ -72,10 +73,12 @@ python3-mapnik
python3-pip
python3-venv
renderd
rsync
software-properties-common
tar
tmux
unzip
vim
vlc
wget
zim-tools