forked from pool/tik-osimage-Aeon
Accepting request 1189389 from devel:microos:aeon:images
Please stage alongside openSUSE-Aeon submission and other submissions from devel:microos:aeon OBS-URL: https://build.opensuse.org/request/show/1189389 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tik-osimage-Aeon?expand=0&rev=4
This commit is contained in:
commit
256f73007e
19
disk.sh
19
disk.sh
@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euxo pipefail
|
||||
[ -x /usr/bin/sdbootutil ] || exit 0
|
||||
echo "#######DISK"
|
||||
rootuuid=$(findmnt / -n --output uuid)
|
||||
sed -i -e "s,\$, root=UUID=$rootuuid," /etc/kernel/cmdline
|
||||
arch="$(uname -m)"
|
||||
case "$arch" in
|
||||
x86_64) arch=x64 ;;
|
||||
*) echo "Unsupported arch for Aeon - $arch"; exit 1 ;;
|
||||
esac
|
||||
echo "install boot loader"
|
||||
sdbootutil -v --no-random-seed --arch "$arch" --esp-path /boot/efi --entry-token=auto --no-variables install
|
||||
echo "add kernels"
|
||||
export hostonly_l=no # for dracut
|
||||
sdbootutil -v --arch "$arch" --esp-path /boot/efi --entry-token=auto add-all-kernels
|
||||
echo "##### AFTER ####"
|
||||
rm -f /boot/mbrid
|
||||
find /boot
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 12:42:51 UTC 2024 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
- Stop populating ESP on image build, done by installer
|
||||
- Use "openSUSE-less" branding
|
||||
- Make minimal ESP size as resizing done by installer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 11:08:36 UTC 2024 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<image schemaversion="7.6" name="tik-osimage-openSUSE-Aeon" displayname="openSUSE Aeon">
|
||||
<image schemaversion="7.6" name="tik-osimage-Aeon" displayname="Aeon">
|
||||
<description type="system">
|
||||
<author>Richard Brown</author>
|
||||
<contact>rbrownsuse@opensuse.org</contact>
|
||||
<specification>openSUSE Aeon</specification>
|
||||
<specification>Aeon</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<version>0.1.0</version>
|
||||
@ -17,7 +17,7 @@
|
||||
firmware="uefi"
|
||||
bootpartition="false"
|
||||
initrd_system="none"
|
||||
efipartsize="4000"
|
||||
efipartsize="0"
|
||||
bootkernel="custom"
|
||||
devicepersistency="by-uuid"
|
||||
btrfs_root_is_subvolume="true"
|
||||
|
Loading…
Reference in New Issue
Block a user