Andrea Bolognani d33836e560 config: Resize root partition on first boot
Disk images are usually flashed to media which is much larger
than they are, and all that additional space goes unused until
the user intervenes.

Configure things so that systemd-repart, which runs by default,
automatically takes care of resizing the root partition.
systemd-growfs, which also runs by default, will subsequently
take care of resizing the filesystem to fill the newly-enlarged
partition.

Note that we don't do this for cloud images, since in that
case cloud-init takes care of resizing the root filesystem and
the underlying partition together with all the other setup
tasks.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-24 16:23:26 +01:00
2023-12-20 07:55:40 -05:00
2025-01-10 15:11:08 -05:00
2025-01-10 15:11:08 -05:00
2025-01-22 19:58:08 +00:00
2023-12-20 07:55:40 -05:00
2025-01-22 19:58:08 +00:00

fedora-kiwi-descriptions

This project is used to manage the Fedora KIWI image descriptions used in composing Fedora release images.

The rawhide branch is used for Fedora Rawhide images and each release branch is used by that release.

All changes should be made via the PR workflow.

Image variants

Please look at VARIANTS for details on the available configurations that can be built.

Image build quickstart

Set up your development environment and run the image build (substitute <image_type> and <image_profile> for the appropriate settings):

# Install kiwi
[]$ sudo dnf --assumeyes install kiwi
# Run the image build
[]$ sudo ./kiwi-build --kiwi-file=Fedora.kiwi --image-type=<image_type> --image-profile=<image_profile> --output-dir ./outdir

CI information

This project is tested using the Software Factory Zuul CI instance using the Test Management Tool.

Licensing

This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, under version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Languages
Shell 100%