Hi team,
We’re building a custom Clear Linux ISO using mixer
. We followed the standard procedure:
Summary:
- Initialized mixer with a known version:
sudo mixer init --clear-version 43070 --mix-version 1
- Added
clr-installer
tomixer.bundles
along with other required bundles. - Ran
mixer build all
andmixer build image
successfully. - Verified
release.iso
is generated.
Problem:
Even though clr-installer
is added to mixer.bundles
, it does not show up in mixbundles
and is not available in the booted live system. Trying to install it via swupd
fails due to lack of network access and missing MoM metadata (<URL where the content will be hosted>/1/Manifest.MoM.tar
).
We tried:
- Rebuilding from scratch with different Clear Linux versions (43460, 43290, etc.).
- Adding both
clr-installer
andclr-installer-iso-init
explicitly. - Cleaning
upstream-bundles/
before reinitializing. - Verified
swupd search clr-installer
on host system shows it’s available. - Adding extra bundles assuming clr-installer is dependent on them:
storage-utils
openssh-server
wpa_supplicant
iwd
NetworkManager
Steps I followed:
- sudo mixer init --clear-version 43070 --mix-version 1
- vi mixer.bundles
os-core
kernel-native
bootloader
network-basic
python3-basic
python3-pip
desktop-autostart
x11-server
opencl
gstreamer
containers-basic
containers-utils
usbutils
c-basic
dev-utils
java-basic
gstreamer-dev
clr-installer
- sudo mixer build bundles
- sudo mixer build update
- sudo mixer build image
- release.iso is generated
Now, i try to run it in qemu:
7. mkdir -p vm && cd vm
8. qemu-img create -f qcow2 clearlinux-test.img 20G
9. sudo qemu-system-x86_64 -enable-kvm -cpu host -m 4096 -smp 4 -cdrom ../release.iso -boot d -hda clearlinux-test.img -net nic -net user -vga virtio -serial mon:stdio
then this happens when the image is boot:
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ # clr-installer
clr-installer: command not found
To install clr-installer use: swupd bundle-add clr-installer
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ # swupd bundle-add clr-installer
Error: Failed to connect to update server: /1/Manifest.MoM.tar
Detailed qemu logs:
sr@clr-35cef7c8491b4989a6e807579c737c7c:~/Downloads/edge-installation-scripts/clear_linux_iso/vm (master)$ sudo qemu-system-x86_64 -enable-kvm -cpu host -m 4096 -smp 4 -cdrom ../release.iso -boot d -hda clearlinux-test.img -net nic -net user -vga virtio -serial mon:stdio
[ 0.112437] sched_ext: Failed to register kfunc sets (-22)
Using /dev/console for output
Checking if system is capable of running Clear Linux*...
egrep: warning: egrep is obsolescent; using grep -E
[ OK ] 64-bit CPU (lm)
egrep: warning: egrep is obsolescent; using grep -E
[ OK ] Supplemental Streaming SIMD Extensions 3 (ssse3)
egrep: warning: egrep is obsolescent; using grep -E
[ OK ] Streaming SIMD Extensions v4.1 (sse4_1)
egrep: warning: egrep is obsolescent; using grep -E
[ OK ] Streaming SIMD Extensions v4.2 (sse4_2)
egrep: warning: egrep is obsolescent; using grep -E
[ OK ] Carry-less Multiplication extensions (pclmulqdq)
[ OK ] All checks passed.
[ OK ] Found installer media, continuing boot...
clr-944e6ec88a434e12a9a6753b7ff0242c login: root
You are required to change your password immediately (administrator enforced).
New password:
Retype new password:
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ # ls
clr-installer.log clr-installer.yaml
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ # clr-installer
clr-installer: command not found
To install clr-installer use: swupd bundle-add clr-installer
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ # swupd bundle-add clr-installer
**Error: Failed to connect to update server: <URL where the content will be hosted>/1/**Manifest.MoM.tar
Possible solutions for this problem are:
Check if your network connection is working
Fix the system clock
Run 'swupd info' to check if the urls are correct
Check if the server SSL certificate is trusted by your system ('clrtrust generate' may help)
Error: Failed to retrieve 1 MoM manifest
Error: Cannot load official manifest MoM for version 1
Failed to install 1 of 1 bundles
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ # clrtrust generate
Trust store generated at /var/cache/ca-certs
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ # swupd bundle-add clr-installer
Error: Failed to connect to update server: <URL where the content will be hosted>/1/Manifest.MoM.tar
Possible solutions for this problem are:
Check if your network connection is working
Fix the system clock
Run 'swupd info' to check if the urls are correct
Check if the server SSL certificate is trusted by your system ('clrtrust generate' may help)
Error: Failed to retrieve 1 MoM manifest
Error: Cannot load official manifest MoM for version 1
Failed to install 1 of 1 bundles
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ #
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ #
root@clr-944e6ec88a434e12a9a6753b7ff0242c ~ #
Despite all this, clr-installer
never makes it into the ISO.
Any guidance on how to correctly bundle clr-installer
into a custom ISO would be appreciated.
Thanks!
Rikin