392dc10...
by
Artem Bityutskiy <email address hidden>
liveusb: fix vfat UUID
Commit '3577b518715c29175c5f517c6f3cf7a70b0e3d39' fixed the UUID string for
raw images, but broke it for liveusb images. And this patch fixes the issue by
making the liveusb code stop adding a dash to the UUID, because now the dash is
there, just like in UUID of ext4.
implement '--check-pkgs' to check if packages included in image
check the given package list, if it will be installed, remove it
from the checking list. when check done, it proves some given
packages won't be installed to the image, mic should abort
introduce '--check-pkgs' to check packages included
in some situation like pre-release image, they expect mic
not going on if there are some packages not going to include
in the image
Example: --check-pkgs=eglibc,bash
if either of eglibc and bash will not be present in the image,
mic should not go on the image creation
Signed-off-by: Gui Chen <email address hidden>
a7f2192...
by
Artem Bityutskiy <email address hidden>
raw: support the 'fstab' installerfw attribute
Similarly to the 'extlinux' attribute of the 'installerfw' KS command, start
supporitng the 'fstab' attribute. This means, for example, if the KS file has
this command:
installerfw "extlinux,fstab"
then MIC will not install/configure extlinux, and it will not generate
/etc/fstab. Instead, installer framework scripts will do that.
I've added the support only to raw images, since installerfw "extlinux" is
allso supported only by raw images. The liveusb support can be added later. I
do not do this because I cannot test liveusb images at this point, so I am
afraid of breaking it.
3e359cf...
by
Artem Bityutskiy <email address hidden>
baseimager: export partition device node
Also export the device node name for each partition. This will be helpful when
we start generating fstab entries in the installer framework scripts.
In MIC environment, the device node name is easily constructed from the disk
name. The disk name compes from the KS file from the --ondisk option of the
'part' command. And --ondisk is a mandatory argument.
In other installer environments, the disk names may be very different.