This commit is contained in:
parent
ee7f521a84
commit
4ced2dbd17
2
.github/release-nest-v3-nvidia-iso
vendored
2
.github/release-nest-v3-nvidia-iso
vendored
@ -1 +1 @@
|
||||
11
|
||||
12
|
24
build.sh
24
build.sh
@ -85,22 +85,18 @@ do
|
||||
mcopy -i "$DD_BOOT_IMAGE" $file ::"$(echo $file | cut -d'/' -f4- | tr '[:lower:]' '[:upper:]')"
|
||||
done
|
||||
|
||||
# Create Live medium image
|
||||
dd if=/dev/zero of="$DD_LIVE_IMAGE" bs=1M count=$LIVE_SIZE
|
||||
mkfs.ext4 "$DD_LIVE_IMAGE"
|
||||
for directory in $(find $LIVE_BOOT_LIVE_PATH -type d | cut -d'/' -f4-)
|
||||
do
|
||||
echo "creating directory $directory in $DD_LIVE_IMAGE"
|
||||
mmd -i "$DD_LIVE_IMAGE" ::"$(echo $directory | tr '[:lower:]' '[:upper:]' | sed 's:/*$::')"
|
||||
done
|
||||
|
||||
for file in $(find $LIVE_BOOT_LIVE_PATH -type f)
|
||||
do
|
||||
echo "copying file $file to $DD_LIVE_IMAGE"
|
||||
mcopy -i "$DD_LIVE_IMAGE" $file ::"$(echo $file | cut -d'/' -f4- | tr '[:lower:]' '[:upper:]')"
|
||||
done
|
||||
# Create System Image
|
||||
|
||||
xorriso \
|
||||
-as mkisofs \
|
||||
-iso-level 3 \
|
||||
-V "PikaOS 4" \
|
||||
-isohybrid-gpt-basdat \
|
||||
-o $DD_LIVE_IMAGE \
|
||||
"$LIVE_BOOT_DATA_PATH"
|
||||
|
||||
# Join the 2 images into one
|
||||
mkdir -p ./output
|
||||
echo "joining images"
|
||||
cat $DD_BOOT_IMAGE $DD_LIVE_IMAGE > "./output/$ISO_IMAGE".iso
|
||||
|
||||
|
@ -4,6 +4,8 @@ set -e
|
||||
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
|
||||
dpkg --add-architecture i386
|
||||
|
||||
# Update APT Caches
|
||||
|
||||
apt-get update -y
|
||||
|
@ -21,3 +21,4 @@ locales-all
|
||||
f2fs-tools
|
||||
xfsprogs
|
||||
refind
|
||||
mesa-hybrid
|
||||
|
@ -1,3 +1,4 @@
|
||||
pika-first-setup-gtk4
|
||||
pikainstall
|
||||
pika-installer-gtk4
|
||||
arch-install-scripts
|
||||
|
Loading…
Reference in New Issue
Block a user