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 4a19075
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 "git clone https://aur.archlinux.org/xdbd-devel-git.git ~/xdbd-devel"
$chlivedo "cd ~/xdbd-devel && makepkg -s"
$chlivedo "cd ~/xdbd-devel && 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 4a19075

Please sign in to comment.