osinside / kiwi-descriptions Goto Github PK
View Code? Open in Web Editor NEWProvides a collection of kiwi image descriptions
License: GNU General Public License v3.0
Provides a collection of kiwi image descriptions
License: GNU General Public License v3.0
It seems that since Monday the repository link: obs://Virtualization:Appliances:Builder/xUbuntu_22.04
that is used in the Jammy build file, is not working anymore. I checked the target and the only available appliance builder repository is for Ubuntu 23.04.
Is there an alternate location or a possibility to get a fork of the builder repository?
Since this is the LTS version of Ubuntu it would be nice to be able to build the Jammy Image again.
This functions merely loops over list of found disk devices, but does not really do anything. It should probably be removed.
I'm not even going to mention that if the function actually did anything based on the disk BIOS id that it tries to compare to "0x80", it would break on half the systems, where the hwinfo program simply does not print the "BIOS id:" line.
Building the debian stretch descriptions yields the error below.
Any ideas?
kiwi --version
KIWI (next generation) version 9.17.37
sudo kiwi-ng --type vmx system build
--description kiwi-descriptions/suse/x86_64/debian-stretch-JeOS
--target-dir /tmp/myimage
yields the following output
[ INFO ]: 23:36:22 | Loading XML description
[ INFO ]: 23:36:22 | --> loaded deb1/config.xml
[ INFO ]: 23:36:22 | --> Selected build type: vmx
[ INFO ]: 23:36:22 | Preparing new root system
[ INFO ]: 23:36:22 | Setup root directory:
[ INFO ]: 23:36:22 | Setting up repository http://ftp.halifax.rwth-aachen.de/debian
[ INFO ]: 23:36:22 | --> Type: apt-deb
[ INFO ]: 23:36:22 | --> Translated: http://ftp.halifax.rwth-aachen.de/debian
[ INFO ]: 23:36:22 | --> Alias: 11d73968d25aec7118b11e0a8762028d
[ INFO ]: 23:36:22 | Setting up repository obs://Virtualization:Appliances:Builder/Debian_9.0
[ INFO ]: 23:36:22 | --> Type: apt-deb
[ INFO ]: 23:36:22 | --> Translated: http://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder/Debian_9.0/
[ INFO ]: 23:36:22 | --> Alias: 0f57536092f42cc4707125c52ef87cb8
[ INFO ]: 23:36:22 | Using package manager backend: apt-get
[ INFO ]: 23:36:22 | Installing bootstrap packages
[ INFO ]: 23:36:22 | --> collection type: onlyRequired
[ INFO ]: 23:36:22 | --> package: apt-get
[ INFO ]: 23:36:22 | --> package: grub2
[ INFO ]: 23:36:22 | --> package: initramfs-tools
[ INFO ]: 23:36:22 | --> package: linux-image-amd64
[ ERROR ]: 23:36:22 | KiwiDebootstrapError: debootstrap script for stretch distribution not found
[ INFO ]: 23:36:22 | Cleaning up SystemPrepare instance
kiwi-descriptions/suse/x86_64/suse-leap-15.0-JeOS/root/etc/motd
Similar to https://github.com/OSInside/kiwi-descriptions/blob/master/centos/x86_64/centos-09.0/config.xml, I want description file for CentOS-Stream-8. Please help.
Hi all,
I am having a few issues building a Kiwi-ng openSUSE 15.2 oem/expandable disk image. I have made a Live ISO no problems, however when making the oem disk I am getting the following error:
KiwiTypeNotFound: build type oem not found in [<kiwi.xml_parse.description object at 0x7fdb3cf48898>]
My config.xml has the following parameters associated with oem/expandable disks:
<profile name="Disk" description="Expandable Disk image"/>
<preferences profiles="Disk"> <type image="oem" filesystem="ext4" initrd_system="dracut" installiso="true" bootloader="grub2" kernelcmdline="splash" firmware="efi" format="vmdk"> <oemconfig> <oem-systemsize>2048</oem-systemsize> <oem-swap>true</oem-swap> <oem-device-filter>/dev/ram</oem-device-filter> <oem-multipath-scan>false</oem-multipath-scan> <oem-resize>false</oem-resize> </oemconfig> </type> </preferences>
<packages type="oem"> <package name="gfxboot-branding-openSUSE"/> </packages>
Any help would be great, thanks!
Hello,
I would like to know how to replace "console like" boot splash with graphical boot loading screen in live ISO.
I have
<bootsplash-theme>bgrt</bootsplash-theme>
<bootloader-theme>openSUSE</bootloader-theme>
and a package gfxboot-branding-openSUSE into config.xml
I check kiwi doc, and found that there might relate to "handleSplash" hook name.
Which state that KIWI automatically hides a plymouth. Do I have to use hook script to enable plymouth?
I'm not sure how the script suppose to look like.
Thanks.
I am trying to create an ubuntu based oem image by porting ubuntu-xenial-JeOS/config.xml to work with ubuntu 18.04.
The problem is kiwi trying to run systemd-firstboot inside the chroot, which does not seem to be available for ubuntu.
INFO: 14:44:29 | Setting up keytable: us
DEBUG: 14:44:29 | EXEC: [chroot /tmp/myimage/build/image-root systemd-firstboot --help]
DEBUG: 14:44:29 | EXEC: Failed with stderr: chroot: failed to run command ‘systemd-firstboot’: No such file or directory
, stdout: (no output on stdout)
WARNING: 14:44:29 | Could not parse systemd-firstboot output
WARNING: 14:44:29 | keyboard setup skipped no capable systemd-firstboot or etc/sysconfig/keyboard found
INFO: 14:44:29 | Setting up locale: en_US
DEBUG: 14:44:29 | EXEC: [chroot /tmp/myimage/build/image-root systemd-firstboot --help]
DEBUG: 14:44:29 | EXEC: Failed with stderr: chroot: failed to run command ‘systemd-firstboot’: No such file or directory
, stdout: (no output on stdout)
WARNING: 14:44:29 | Could not parse systemd-firstboot output
DEBUG: 14:44:29 | "plymouth-set-default-theme": in paths "/tmp/myimage/build/image-root/usr/sbin:/tmp/myimage/build/image-root/usr/bin:/tmp/myimage/build/image-root/sbin:/tmp/myimage/build/image-root/bin" exists: "False" mode match: not checked
INFO: 14:44:29 | Setting up timezone: UTC
DEBUG: 14:44:29 | EXEC: [chroot /tmp/myimage/build/image-root systemd-firstboot --help]
DEBUG: 14:44:29 | EXEC: Failed with stderr: chroot: failed to run command ‘systemd-firstboot’: No such file or directory
, stdout: (no output on stdout)
WARNING: 14:44:29 | Could not parse systemd-firstboot output
Is there any way to not depend on systemd-firstboot?
The repostiory settings for Leap-42.3-JeOS worked perfectly in August and today all I get is a 404 for that reposotory.
<repository type="rpm-md" imageinclude="true">
<source path="obs://openSUSE:Leap:42.3/standard"/>
</repository>
Noticed that sometimes we even end up in "HTTP500 Server error". What's going on?
Hi
I wanted to rest kiwi-ng to build Ubuntu 24.04 image, but it seems that's not available under
obs://Virtualization:Appliances:Builder/ space.
Is there a plan to add support for it?
I just tried using kiwi for the first time to build an image.
I ran into this error:
[ ERROR ]: 01:12:39 | KiwiCommandError: chroot: stderr: /usr/share/plymouth/themes/breeze/breeze.plymouth does not exist
, stdout: (no output on stdout)
I make sure I have /usr/share/plymouth/themes/breeze/breeze.plymouth in the directory, I install it from the repo normally.
I change the plymouth bootsplash accordinly config.xml
<bootsplash-theme>breeze</bootsplash-theme>
<bootloader-theme>breeze</bootloader-theme>
What could have cause this. Thank you.
openSUSE Tumbleweed
The full log is
sudo kiwi-ng --type iso system build --description /home/user/Desktop/kiwi-descriptions-master/suse/x86_64/suse-tumbleweed-JeOS/ --target-dir /home/user/Desktop/mydistro
[sudo] password for root:
[ INFO ]: 01:09:19 | Loading XML description
[ INFO ]: 01:09:19 | --> loaded /home/kev/Desktop/kiwi-descriptions-master/suse/x86_64/suse-tumbleweed-JeOS/config.xml
[ INFO ]: 01:09:19 | --> Selected build type: iso
[ INFO ]: 01:09:19 | Preparing new root system
[ INFO ]: 01:09:19 | Setup root directory: /home/kev/Desktop/mydistro/build/image-root
[ INFO ]: 01:09:21 | Setting up repository obs://Virtualization:Appliances:Builder/Factory
[ INFO ]: 01:09:21 | --> Type: rpm-md
[ INFO ]: 01:09:21 | --> Priority: 1
[ INFO ]: 01:09:21 | --> Translated: http://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder/Factory/
[ INFO ]: 01:09:21 | --> Alias: kiwi
[ ERROR ]: 01:09:21 | KiwiCommandError: zypper: stderr: System management is locked by the application with pid 16253 (/usr/bin/ruby.ruby2.6).
Close this application before trying again.
, stdout: (no output on stdout)
[ INFO ]: 01:09:21 | Cleaning up SystemPrepare instance
[ WARNING ]: 01:09:21 | remove_hierarchy: path /home is protected
kev@linux-u51f:~> sudo kiwi-ng --type iso system build --description /home/kev/Desktop/kiwi-descriptions-master/suse/x86_64/suse-tumbleweed-JeOS/ --target-dir /home/kev/Desktop/mydistro2
[ INFO ]: 01:09:41 | Loading XML description
[ INFO ]: 01:09:41 | --> loaded /home/kev/Desktop/kiwi-descriptions-master/suse/x86_64/suse-tumbleweed-JeOS/config.xml
[ INFO ]: 01:09:41 | --> Selected build type: iso
[ INFO ]: 01:09:41 | Preparing new root system
[ INFO ]: 01:09:41 | Setup root directory: /home/kev/Desktop/mydistro2/build/image-root
[ INFO ]: 01:09:42 | Setting up repository obs://Virtualization:Appliances:Builder/Factory
[ INFO ]: 01:09:42 | --> Type: rpm-md
[ INFO ]: 01:09:42 | --> Priority: 1
[ INFO ]: 01:09:42 | --> Translated: http://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder/Factory/
[ INFO ]: 01:09:42 | --> Alias: kiwi
[ INFO ]: 01:09:43 | Setting up repository http://download.opensuse.org/tumbleweed/repo/oss
[ INFO ]: 01:09:43 | --> Type: None
[ INFO ]: 01:09:43 | --> Translated: http://download.opensuse.org/tumbleweed/repo/oss
[ INFO ]: 01:09:43 | --> Alias: Tumbleweed
[ INFO ]: 01:09:43 | Using package manager backend: zypper
[ INFO ]: 01:09:43 | Installing bootstrap packages
[ INFO ]: 01:09:43 | --> collection type: onlyRequired
[ INFO ]: 01:09:43 | --> package: ca-certificates
[ INFO ]: 01:09:43 | --> package: cracklib-dict-full
[ INFO ]: 01:09:43 | --> package: filesystem
[ INFO ]: 01:09:43 | --> package: glibc-locale
[ INFO ]: 01:09:43 | --> package: openSUSE-release
[ INFO ]: 01:09:43 | --> package: udev
[ INFO ]: 01:09:43 | --> package: zypper
[ INFO ]: Processing: [########################################] 100%
[ INFO ]: 01:11:08 | Installing system (chroot) for build type: iso
[ INFO ]: 01:11:08 | --> collection type: onlyRequired
[ INFO ]: 01:11:08 | --> package: bash-completion
[ INFO ]: 01:11:08 | --> package: dhcp-client
[ INFO ]: 01:11:08 | --> package: dracut-kiwi-live
[ INFO ]: 01:11:08 | --> package: fontconfig
[ INFO ]: 01:11:08 | --> package: fonts-config
[ INFO ]: 01:11:08 | --> package: gfxboot
[ INFO ]: 01:11:08 | --> package: grub2
[ INFO ]: 01:11:08 | --> package: grub2-branding-openSUSE
[ INFO ]: 01:11:08 | --> package: grub2-i386-pc
[ INFO ]: 01:11:08 | --> package: ifplugd
[ INFO ]: 01:11:08 | --> package: iproute2
[ INFO ]: 01:11:08 | --> package: iputils
[ INFO ]: 01:11:08 | --> package: kernel-default
[ INFO ]: 01:11:08 | --> package: less
[ INFO ]: 01:11:08 | --> package: lvm2
[ INFO ]: 01:11:08 | --> package: openssh
[ INFO ]: 01:11:08 | --> package: parted
[ INFO ]: 01:11:08 | --> package: patterns-openSUSE-base
[ INFO ]: 01:11:08 | --> package: plymouth
[ INFO ]: 01:11:08 | --> package: plymouth-branding-openSUSE
[ INFO ]: 01:11:08 | --> package: plymouth-dracut
[ INFO ]: 01:11:08 | --> package: syslinux
[ INFO ]: 01:11:08 | --> package: tar
[ INFO ]: 01:11:08 | --> package: timezone
[ INFO ]: 01:11:08 | --> package: vim
[ INFO ]: 01:11:08 | --> package: which
[ INFO ]: Processing: [########################################] 100%
[ INFO ]: 01:12:38 | Creating .profile environment
[ INFO ]: 01:12:38 | Importing Image description to system tree
[ INFO ]: 01:12:38 | --> Importing state XML description as image/config.xml
[ INFO ]: 01:12:38 | --> Importing config.sh script as image/config.sh
[ INFO ]: 01:12:38 | --> Importing script helper functions
[ INFO ]: 01:12:38 | Copying user defined files to image tree
[ INFO ]: 01:12:39 | Setting up user root
[ INFO ]: 01:12:39 | --> Modifying user: root [root]
[ INFO ]: 01:12:39 | Setting up keytable: us
[ INFO ]: 01:12:39 | Setting up locale: en_US
[ ERROR ]: 01:12:39 | KiwiCommandError: chroot: stderr: /usr/share/plymouth/themes/breeze/breeze.plymouth does not exist
, stdout: (no output on stdout)
[ INFO ]: 01:12:39 | Cleaning up SystemPrepare instance
[ WARNING ]: 01:12:40 | remove_hierarchy: path /home is protected
Hello Team,
Is it possible to provide Kiwi Descriptor file for SLES 12 Raspberry Pie .
SUSE has released SLES 12 for ARM (Raspberry Pi)
I would request to let me know if it is possible to get the descriptor file.
Thanks and Regards,
Arjun.M
Hi there,
I am building a new JeOS image for 15.3* and when running my 15.2 config.sh and config.xml with the kiwi-ng --profile Disk --type oem system build --description /path/used/ --target-dir /path/to
command, I get an error:
KiwiCommandError: chroot: stderr: groupadd: group 'wheel' already exists
... I saw that something similar to this has been posted previously however the information link given does not work (#40)
I do not have anything as such configured in the .sh and .xml, other than a few bits, but nothing to do with the 'group' wheel
WHY ?! So, I've been prompted to finally make updated iso for my live TW build only to find out that my custom kernel cannot be used and instead trashy SUSE default kernel is hardcoded. What the hell happened with all that ?
<profiles>
<profile name="default" description="Booting default setup"/>
<profile name="custom" description="KERNEL: specified by bootinclude in system XML"/>
<profile name="xen" description="Boot with xen mboot.c32 setup"/>
<profile name="std" description="KERNEL: Default"/>
<profile name="pae" description="KERNEL: pae kernel"/>
<profile name="xenk" description="KERNEL: Xen kernel/mboot.c32"/>
<profile name="desktop" description="KERNEL: Desktop kernel"/>
</profiles
Not only that by it's not even packaged in neither kiwi-boot-descriptions
or kiwi-templates-JeOS
, it's nowhere to be found ! Is it even possible to make the live builds on openSUSE anymore without resorting to crutches and snots for old version of kiwi ?
And here I naively though that your rewrites would actually improve live builds and allow to finally auto-make exFAT partition for whole USB flash stick with overlay file on it. You know, the thing that would actually allow to use whole giant modern USB sticks as universal portable storage (which also requires for boot partition to be second, after storage partition due to Windows' old "one portable drive partition only" limitation) and have live OS on them ? The thing that we discussed years, among other things like saner auto RAM-drive size, ago but instead those discussions and patches got deleted !
And that after openSUSE installer was "rewritten and improved" to no longer install customized builds too.
Not sure if this is more applicable for here or the main kiwi project.
When taking the default debian 10 buster example from here, building on debian 10 buster the ISO builds perfectly fine. But when booting, grub loads, the initrd gets loaded and then it halts.
dracut-initqueue: mount /run/rootfsbase cannot mount /dev/loop1 read-only
Dracut: FATAL: Failed to mount live ISO root filesystem.
reboot: system halted
Nothing I try to get it working does anything.
Any ideas are welcome.
Hello,
I recently notice that my LivePXE kiwi project in OBS was failed with "nothing provides kiwi-boot:netboot" for Tumbleweed (while it still works for Leap). It should be provided by kiwi-boot-requires.rpm which is not built anymore for Tumbleweed (I guess) since 4991a6f .
Is it expected to not be able to build a netboot image for Tumbleweed?
The spec file in OBS has a typo in a version check (missing question mark) in l160.
The kiwi-boot-requires is also required on rhel, the suse check should be removed.
l134 is overly complicated, the echo, cut and backticks should be removed, just use grep. Also a comment should be added that describes that line because distros not listed in the grepped file will get a build failure due to an empty requirement.
Solution: See the spec file in https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/kiwi-boot-descriptions
I would have simply submitted the package change because the spec file is not included in the github sources but submitting is forbidden and a message appeared that I should report issues here.
An example for RHEL7 is missing; the legacy kiwi had this example:
https://github.com/openSUSE/kiwi/tree/master/template/ix86/rhel-07.0-JeOS
I never got it to work though but that could be me. Maybe an edited copy of the centos version is better.
I have had problem with USB wifi dongle not finding any Network at boot, until it is unplugged and plug back in.
Until I delete 70-persistent-net.rules and rebuild the live image, it work properly again. I first I thought it was NetworkManager bug which I ask here:
https://forums.opensuse.org/showthread.php/538063-I-can-only-connect-to-internet-when-un-plug-plug-the-USB-wifi-card-(live-ISO-build-with-KIWI)
Which did not find any clue until I randomly try to delete 70-persistent-net.rules.
Thanks.
According to version 9.11.30, the tumbleweed xml has two issues:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.