[Bug 2141545] Re: [SRU] add swap file or partition to LicheeRV preinstalled image
Heinrich Schuchardt
2141545 at bugs.launchpad.net
Wed Apr 15 22:29:19 UTC 2026
Using livecd-rootfs/24.04.96 I locally built an image for the Nezha D1.
Cloud-init correctly creates the swap space:
ubuntu at ubuntu:~$ cat /etc/fstab
LABEL=cloudimg-rootfs / ext4 discard,commit=30,errors=remount-ro 0 1
LABEL=UEFI /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
ubuntu at ubuntu:~$ free
total used free shared buff/cache available
Mem: 973740 220844 635872 1112 195784 752896
Swap: 1048572 0 1048572
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2141545
Title:
[SRU] add swap file or partition to LicheeRV preinstalled image
Status in livecd-rootfs package in Ubuntu:
Invalid
Status in livecd-rootfs source package in Noble:
Fix Committed
Bug description:
[ Impact ]
A kernel upgrade from linux-allwinner 6.8 to linux-generic 6.17 fails
due to the limited board memory (512 MiB) on the LicheeRV Dock. The
Allwinner Nezha D1 is also memory constrained.
Add 1 GiB of swap space.
Both boards use the RISC-V RVA20 ISA and are not supported in
Questing, Resolute.
[ Test Plan ]
Create and boot a preinstalled LicheeRV and a Allwinner Nezhal D1
image.
Check that /etc/fstab contains a swap entry.
Run the `free` command to check the swap space.
[ Where problems could occur ]
The change might impact other images or even result in build failures
if done incorrectly.
[ Other Info ]
n/a
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2141545/+subscriptions
More information about the foundations-bugs
mailing list