mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Naming Debian image with WROLPi version.
This commit is contained in:
parent
76212cf3de
commit
a99edfd681
1 changed files with 5 additions and 2 deletions
|
|
@ -3,6 +3,8 @@
|
|||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
BUILD_DIR=/tmp/wrolpi-build
|
||||
|
||||
VERSION=$(cat "${SCRIPT_DIR}/../wrolpi/version.txt")
|
||||
|
||||
# Re-execute this script if it wasn't called with sudo.
|
||||
if [ $EUID != 0 ]; then
|
||||
sudo "$0" "$@"
|
||||
|
|
@ -24,6 +26,7 @@ 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 \
|
||||
|
|
@ -37,8 +40,8 @@ lb config \
|
|||
--color \
|
||||
--linux-packages "linux-image linux-headers" \
|
||||
--memtest memtest86+ \
|
||||
--iso-volume WROLPi \
|
||||
--iso-application WROLPi \
|
||||
--iso-volume "WROLPi v${VERSION}" \
|
||||
--iso-application "WROLPi v${VERSION}" \
|
||||
--iso-preparer WROLPi \
|
||||
--iso-publisher https://wrolpi.org
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue