Commit Graph

2 Commits

Author SHA1 Message Date
Peter A. Bigot
20358ec57a sdimage-raspberrypi.wks: find /boot partition on mmcblk0
Recently wic was modified to no longer exclude /boot from partitions
added to fstab.  The --on parameter in many kickstart specifications
insufficiently resolved the MMC device, resulting in attempts to mount
/dev/mmcblkp1 as boot when the device should be /dev/mmcblk0p1.

With systemd the mount failure is an error and the system drops into
emergency mode.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
(cherry picked from commit 0e1e2c6e0a)
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2018-04-03 14:46:10 +01:00
Maciej Borzecki
6bafea4f37 wic: move sdimage-raspberrypi to toplevel wic location
Wic supports picking up image files from toplevel LAYERDIR/wic directory. Using
this location has the benefit that image files are easier to find (compare that
to previously used scripts/lib/image/canned-wks/ location).

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
2017-03-11 04:39:14 -08:00