Skip to content

Commit

Permalink
Added xdbd package
Browse files Browse the repository at this point in the history
Signed-off-by: John Sanpe <sanpeqf@gmail.com>
  • Loading branch information
sanpeqf committed Apr 14, 2024
1 parent f1a8c7a commit a49ec5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,19 @@ function config_rootfs()
$chlivedo "pacman-key --populate archlinuxarm"
$chlivedo "pacman --noconfirm -Syy"
$chlivedo "pacman --noconfirm -S arch-install-scripts cloud-guest-utils"
$chlivedo "pacman --noconfirm -S base-devel git"

# Install basic rootfs
$chlivedo "pacstrap -cGM /mnt $(cat config/packages.conf)"
$chlivedo "echo 'alarm' > /mnt/etc/hostname"
$chlivedo "echo 'LANG=C'> /mnt/etc/locale.conf"
$chlivedo "echo -n > /mnt/etc/machine-id"

# Install user package
$chlivedo "cd /home/alarm && su alarm -c \"git clone https://aur.archlinux.org/xdbd-devel-git.git xdbd\""
$chlivedo "cd /home/alarm/xdbd && su alarm -c \"makepkg -s\""
$chlivedo "cd /home/alarm/xdbd && pacstrap -cGMU /mnt ./xdbd-devel-git-*"

cp -p /usr/bin/qemu-aarch64-static $rootfs/bin/qemu-aarch64-static
cp -p config/resize2fs.service $rootfs/usr/lib/systemd/system

Expand Down

0 comments on commit a49ec5e

Please sign in to comment.