Skip to content

Commit

Permalink
adjust to new basepackage
Browse files Browse the repository at this point in the history
  • Loading branch information
YukariChiba committed Aug 2, 2024
1 parent 25b14ce commit 91118cd
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 32 deletions.
2 changes: 1 addition & 1 deletion config/common/mimalloc.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if [ ! -z "`pacman -Qeq | grep ^mimalloc$`" ]; then
if [ ! -z "`pacman -Qq | grep ^mimalloc$`" ]; then
echo "LD_PRELOAD=/usr/lib/libmimalloc.so" >> /etc/environment
fi
2 changes: 1 addition & 1 deletion config/common/set_keyring.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# eweos-keyring
if [ ! -z "`pacman -Qeq | grep ^eweos-keyring$`" ]; then
if [ ! -z "`pacman -Qq | grep ^eweos-keyring$`" ]; then
echo "Found eweos-keyring"
pacman-key --init
pacman-key --populate eweos
Expand Down
24 changes: 8 additions & 16 deletions config/liveimage/gen_boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ ram=1
live_ram_opts="size=50%,mode=0755"
EOF

_bootloader_set=0

# plymouth
if [ ! -z "`pacman -Qeq | grep ^plymouth$`" ]; then
if [ ! -z "`pacman -Qq | grep ^plymouth$`" ]; then
echo "Found plymouth"
# FIXME: use text mode since early KMS is not ready and unable to detect FB
cat <<EOF>/etc/plymouth/plymouthd.conf
Expand All @@ -21,17 +19,11 @@ Theme=tribar
EOF
fi
# limine bootloader
if [ ! -z "`pacman -Qeq | grep ^limine$`" ] && [ "$_bootloader_set"=="0" ]; then
echo "Found limine"
mkdir -p /boot/EFI/BOOT
cp /usr/share/limine/*.EFI /boot/EFI/BOOT/
limine-mkconfig -b "rolling (LiveCD)" -o /boot/limine.cfg
# for hybrid iso
if [ -f /usr/share/limine/limine-bios-cd.bin ]; then
cp /usr/share/limine/{limine-bios-cd.bin,limine-bios.sys} /boot/
fi
cp /usr/share/limine/limine-uefi-cd.bin /boot/
_bootloader_set=1
mkdir -p /boot/EFI/BOOT
cp /usr/share/limine/*.EFI /boot/EFI/BOOT/
limine-mkconfig -b "rolling (LiveCD)" -o /boot/limine.cfg
# for hybrid iso
if [ -f /usr/share/limine/limine-bios-cd.bin ]; then
cp /usr/share/limine/{limine-bios-cd.bin,limine-bios.sys} /boot/
fi
cp /usr/share/limine/limine-uefi-cd.bin /boot/
4 changes: 0 additions & 4 deletions profiles/liveimage-desktop/packages.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
base
greetd
greetd-tui
tinyramfs
linux
limine
fastfetch
vim
sudo
dinit
linux-firmware
linux-firmware-amdgpu
linux-firmware-iwlwifi
Expand Down
4 changes: 0 additions & 4 deletions profiles/liveimage-standard/packages.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
base
greetd
seatd
tinyramfs
linux
limine
fastfetch
vim
sudo
dinit
linux-firmware
linux-firmware-amdgpu
linux-firmware-iwlwifi
Expand Down
4 changes: 0 additions & 4 deletions profiles/liveimage-test/packages.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
base
tinyramfs
linux
limine
fastfetch
sudo
dinit
nginx
cronie
fcgiwrap
Expand Down
1 change: 0 additions & 1 deletion profiles/tarball/packages.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
base
vim
sudo
dinit
2 changes: 1 addition & 1 deletion utils/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _logtxt "#### bootstrapping base system"

mount_overlay base

$RUNAS pacstrap -G -M -c -C ./pacman.ewe.conf ./tmpdir/rootfs base
$RUNAS pacstrap -G -M -c -C ./pacman.ewe.conf ./tmpdir/rootfs base-baremetal

umount_overlay

Expand Down

0 comments on commit 91118cd

Please sign in to comment.