-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System Ready Minimal Images fixes #137
Commits on Sep 8, 2023
-
minimal-raw/rhel: Fix the kernel command line
None of these options should be hard coded. The serial console on a lot of devices is not ttyS0, (eg it's ttymxc0 on i.MX8) and it breaks console output on connected displays. Some of these options are x86 specific and we want to use the specific names for the network interfaces so drop all those. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55c7b9b - Browse repository at this point
Copy the full SHA 55c7b9bView commit details -
minimal-raw/rhel: Add WiFi support
Add WiFi support and initial-setup to create users. The image should have basic WiFi support as a lot of the devices have WiFi so being able to use it out of the box is important. The majority of the WiFi firmware is currently in linux-firmware but also add the most common Intel cards too. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a630d5 - Browse repository at this point
Copy the full SHA 6a630d5View commit details -
disk: partition: Allow specifying a starting offset
It's useful for a number of usecases to be able to specify a starting offset for the first partition on disk. This is needed for some arm images to allow space for firmware, but it's also often needed for virt images so VMs are optimally places on disk. Fix an issue where the starting offset isn't set for partition offsets. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e2c515 - Browse repository at this point
Copy the full SHA 0e2c515View commit details -
minimal-raw/rhel: Add offset to partitions
A number of edge devices, in most cases pre-prod that may be on the edge of proper certification, need to write the firmware to the beginning of the storage, while this is far from ideal the default 2048 blocks (1Mb) is generally not enough and it means when the firmware is written out we will zap the EFI ESP partition so let's start this with an offset of 8Mb for these images to ensure we have enough space for those (hopefully rare) use cases. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b17be08 - Browse repository at this point
Copy the full SHA b17be08View commit details -
minimal-raw/rhel: Add initial-setup
By default there's no user and the root account should be locked so we need to provide a means for images that maybe distributed to enable a user to create accounts to login as we don't want to, by default, unlock the root account and provide default credentials as that's a major security issue. If a user doesn't add an account in a blueprint they end up with an unusable image. We add libxkbcommon as it's required by i-s but isn't pulled in. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b811fab - Browse repository at this point
Copy the full SHA b811fabView commit details -
fedora: fix default kernel command line
Fix the default Fedora kernel command line. It was advertised as the default but the reality is the options were for cloud, so set a real default as the option and update the cloud options to something special for them. It's not truly correct as at least one of the options is x86 specific but when booted on other architectures those kernels will ignore it (and I honestly think it's ancient cargo culted kernel command line options). Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85de80c - Browse repository at this point
Copy the full SHA 85de80cView commit details -
fedora: Update WiFi firmware naming
A number of bits of WiFi firmware have changed in Fedora, with some moved out of linux-firmware, and some Intel ones being renamed so update to the current naming which is valid for all currently supported releases. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5aefc86 - Browse repository at this point
Copy the full SHA 5aefc86View commit details -
minimal-raw/fedora: Add offset to partitions
A number of edge devices, in most cases pre-prod that may be on the edge of proper certification, need to write the firmware to the beginning of the storage, while this is far from ideal the default 2048 blocks (1Mb) is generally not enough and it means when the firmware is written out we will zap the EFI ESP partition so let's start this with an offset of 8Mb for these images to ensure we have enough space for those (hopefully rare) use cases. Also the Fedora image, due to support requirements around devices like the Raspberry Pi 3 require the default partition tables format to be msdos because the initial program loader in silicon doesn't support loading the firmware off a GPT partition table. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40d7c68 - Browse repository at this point
Copy the full SHA 40d7c68View commit details -
minimal-raw/fedora: fixes for the image type
Add WiFi support and initial-setup to create users. The image should have basic WiFi support as a lot of the devices have WiFi so being able to use it out of the box is important. The majority of the WiFi firmware is currently in linux-firmware but also add the most common Intel cards too. We need inital-setup to create users, set root password etc as we don't want to be using default user/password as it's a major security risk. We add libxkbcommon as i-s needs it. We need to start default services to ensure the right things run and we end up with things like firewalls and networks. Finally we need to setup the firmware for the RPi. Signed-off-by: Peter Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17599eb - Browse repository at this point
Copy the full SHA 17599ebView commit details -
distro: add fsnodes to ImageConfig
Support adding fsnodes to the ImageConfig so we can define arbitrary files as part of the base config. This should be avoided and only used as a last resort or short term workaround.
Configuration menu - View commit details
-
Copy full SHA for 5fca831 - Browse repository at this point
Copy the full SHA 5fca831View commit details
Commits on Sep 11, 2023
-
distro: add a kickstart file to /root for minimal-raw images
Currently initial-setup requires a kickstart file in the /root directory to work. Adding a temporary file node to the image config for minimal-raw images so that initial-setup runs and a user can be created if necessary. The minimal-raw image has no other mechanism for creating a user if one wasn't specified at build time, so we need to be sure that initial-setup runs.
Configuration menu - View commit details
-
Copy full SHA for f240080 - Browse repository at this point
Copy the full SHA f240080View commit details