mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Moving nginx config. Not creating live image.
This commit is contained in:
parent
7fd8a8527a
commit
a7d1912d43
2 changed files with 5 additions and 4 deletions
|
|
@ -24,7 +24,6 @@ lb config \
|
|||
--architectures amd64 \
|
||||
--linux-flavours amd64 \
|
||||
--distribution bookworm \
|
||||
--debian-installer live \
|
||||
--debian-installer-gui true \
|
||||
--archive-areas "main contrib non-free non-free-firmware" \
|
||||
--updates true \
|
||||
|
|
@ -38,6 +37,8 @@ lb config \
|
|||
--color \
|
||||
--linux-packages "linux-image linux-headers" \
|
||||
--memtest memtest86+ \
|
||||
--iso-volume WROLPi \
|
||||
--iso-application WROLPi \
|
||||
--iso-preparer WROLPi \
|
||||
--iso-publisher https://wrolpi.org
|
||||
|
||||
|
|
@ -45,5 +46,5 @@ rsync -a "${SCRIPT_DIR}/config" "${BUILD_DIR}/"
|
|||
|
||||
lb build 2>&1 | tee "${SCRIPT_DIR}/build.log"
|
||||
|
||||
cp "${BUILD_DIR}"/live*iso "${SCRIPT_DIR}/" || (echo "Build failed. No ISOs were found!" && exit 1)
|
||||
cp "${BUILD_DIR}"/*iso "${SCRIPT_DIR}/" || (echo "Build failed. No ISOs were found!" && exit 1)
|
||||
chmod 644 "${SCRIPT_DIR}"/*iso
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ python3 -m venv /opt/wrolpi/venv
|
|||
/opt/wrolpi/venv/bin/pip3 install -r /opt/wrolpi/requirements.txt
|
||||
|
||||
# Configure nginx.
|
||||
cp /opt/wrolpi/nginx.conf /etc/nginx/nginx.conf
|
||||
cp /opt/wrolpi/50x.html /var/www/50x.html
|
||||
cp /opt/wrolpi/etc/raspberrypios/nginx.conf /etc/nginx/nginx.conf
|
||||
cp /opt/wrolpi/etc/raspberrypios/50x.html /var/www/50x.html
|
||||
|
||||
# WROLPi needs a few privileged commands.
|
||||
cp /opt/wrolpi/etc/raspberrypios/90-wrolpi /etc/sudoers.d/90-wrolpi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue