Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

refkit-installer-image: image-installer fixes #160

Merged
merged 3 commits into from
May 18, 2017
Merged

Conversation

mythi
Copy link
Contributor

@mythi mythi commented May 18, 2017

No description provided.

mythi added 3 commits May 18, 2017 16:19
The $output*$gdisk_pnum wildcard listing is too greedy
when the output is an eMMC device: it matches not only
'p' (in mmcblkXpY) but also 'boot' which is also found
on eMMC devices. This results in a 'partition is not
unique' error.

To fix the install, limit the search to <device><partnum>
and <device>p<partnum>.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
The target EFI partition needs the RMC db too which was
not copied. Update the installer to take care of that too.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
The loop devices are not correctly removed when exiting
due to a problem with kpartx -d failing to handle file
names longer than 63.

The workaround is to clean up using the loop device
name with 'kpartx -d'. It also requires an explicit
'losetup -d' call.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
@mythi mythi merged commit aac8937 into intel:master May 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants