I used livemedia-creator to create a disk image for an ARM board (Trim
Slice) with the following command:
livemedia-creator \
--make-disk --no-virt --image-only --keep-image \
--ks=/root/F17-trimslice.ks
The kickstart file defined the following partitions:
part /boot --size 255 --fstype ext3 --label=boot
part swap --size 511 --label=swap
part / --size 3327 --fstype ext4 --label=rootfs
which were created as expected. The following /etc/fstab entries were
created on the image:
UUID=f9360b1d-f56c-4b52-ab6b-58775bf57a17 / ext4 defaults 1 1
UUID=5f9bb5f2-a818-4e72-aefc-cd2c304726a6 /boot ext3 defaults 1 2
/dev/mapper/diskt9BQ8tp3 swap swap defaults 0 0
The issue is that if I copy this image to any other media (i.e., an
SDCard) the swap entry no longer works.
Is this expected behavior? Is there another option I should be using in
the kickstart file to alter this behavior to use either the UUID or disk
label for swap?
Thank you,
d.marlin
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list