[Bug 2141545] Re: [SRU] add swap file or partition to LicheeRV preinstalled image
Heinrich Schuchardt
2141545 at bugs.launchpad.net
Thu Apr 16 08:29:19 UTC 2026
I build with what is in proposed for the Nezha an LicheeRV board in
https://launchpad.net/~xypron/+livefs/ubuntu/noble/test/+build/943158
https://launchpad.net/~xypron/+livefs/ubuntu/noble/test/+build/943159
The Nezha board boots fine and shows:
ubuntu at ubuntu:~$ cat /etc/fdisk
cat: /etc/fdisk: No such file or directory
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: 973704 210188 540816 984 302084 763516
Swap: 1048572 0 1048572
The LicheeRV shows this output:
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: 458892 134428 43040 1016 299740 324464
Swap: 1048572 0 1048572
** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble
--
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