Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Feb 25, 2024
1 parent 2f9f8b2 commit 02b9b9f
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions devtools/createimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ cd ../install

echo "ALPINEBOX: Compressing image..."
losetup -d /dev/loop0
rm $IMAGE"".gz &>/dev/null || true
gzip $IMAGE

echo "ALPINEBOX: Done, $IMAGE"".gz created."
Expand Down
2 changes: 1 addition & 1 deletion install/3-install-bootloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mkdir -p /mnt/boot/syslinux

cp zfsbootmenu-*/* /mnt/boot/syslinux
cp /usr/share/syslinux/*c32 /mnt/boot/syslinux
cp $CWD/syslinux.cfg /mnt/boot/syslinux
cp $CWD/files/syslinux.cfg /mnt/boot/syslinux
extlinux --install /mnt/boot/syslinux
dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/gptmbr.bin of=$INSTALL_DISK

Expand Down
6 changes: 3 additions & 3 deletions install/6-install-extras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ ROOT=/mnt/newroot

########### motd
MOTD=$ROOT/etc/motd
cp motd $MOTD
cp files/motd $MOTD
VER=`git describe --always --tags`
sed "s/%v/$VER/" -i $MOTD

#show on boot
cp motd.init $ROOT/etc/init.d/motd
cp files/motd.init $ROOT/etc/init.d/motd
chroot $ROOT rc-update add motd default

########### prompt
cp z_dtap-prompt.sh $ROOT/etc/profile.d/
cp files/z_dtap-prompt.sh $ROOT/etc/profile.d/

########### this repo
cp -R .. $ROOT/root/alpinebox
Expand Down
1 change: 1 addition & 0 deletions install/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# This is the initial bootstrap that will git clone the actual installer.
# Run this from the alpine installer ISO.
# Use https://boot.datux.nl/install as a short url to get it.

set -e

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 02b9b9f

Please sign in to comment.