#652 fedora-arm-minimal: increase root partition size
Merged 3 years ago by humaton. Opened 3 years ago by lkundrak.
lkundrak/fedora-kickstarts lr/arm-size  into  master

file modified
+1 -1
@@ -1,7 +1,7 @@ 

  %include fedora-arm-base.ks

  %include fedora-minimal-common.ks

  

- part / --size=1400 --fstype ext4

+ part / --size=1500 --fstype ext4

  

  %packages

  -xkeyboard-config

The image creation currently silently fails on Fedora 33 because the
kernel scriptlet is unable to create the initramfs [1] [2]

cp: error writing '/var/tmp/dracut.SqTiPj/initramfs/lib/libbrotlicommon.so.1.0.7': No space left on device
dracut-install: ERROR: failed to install '/lib/libbrotlicommon.so.1' for '/var/tmp/dracut.SqTiPj/initramfs/usr/sbin/rngd'
...

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=45798241
[2] https://kojipkgs.fedoraproject.org//work/tasks/8241/45798241/appliance.log

I'm not entirely sure how much space is actually needed. Hopefully not
more than 100M though.

Pull-Request has been merged by humaton

3 years ago

I suppose the real question here is what's bloated out to need it

I suppose the real question here is what's bloated out to need it

Indeed. Once I'm able to get a bootable f33 minimal image I'll try to compare it against the f32 one.

This might make that easier in future: https://pagure.io/fedora-kickstarts/pull-request/653

@pbrobinson At quick glance, there doesn't seem to be any single package that would have grown unreasonably. The minimal f33 tree is about 55M larger than f32, new uboot images account for 41M of that.

# du -s /f32 /f33
1025864 /f32
1082880 /f33
# du -sh /f32/usr/share/uboot
80M     /f32/usr/share/uboot
# du -sh /f33/usr/share/uboot
121M    /f33/usr/share/uboot
Metadata