Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:microos:aeon:installer
MicroOS
disk.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disk.sh of Package MicroOS
#!/bin/bash set -euxo pipefail # Fix the filesystem label of the ignition partition, uppercase doesn't work with ignition e2label /dev/loop0p3 ignition [ -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 --portable --entry-token=auto --no-variables install echo "add kernels" export hostonly_l=no # for dracut sdbootutil -v --arch "$arch" --esp-path /boot/efi --portable --entry-token=auto add-all-kernels echo "##### AFTER ####" rm -f /boot/mbrid find /boot
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor