Comment # 29 on bug 1189841 from
Pushing the preparatory patches to packaging.

The final patch that moves the scriptlets from kernel-source to s-m-t needs a
bit more review.

We definitely need to pass in %usrmerged because it is possible to install
non-usrmerged kernels on usrmerged system (so long as the compatibility
symlinks are present - may need to fail the install if not) where s-m-t will be
usrmerged so the value may not match between the kernel and s-m-t.

There is the question to what scriptlets which parameters should be passed.

Curently %usrmerged is used only in main kernel scriptlets but wm2 may need to
know about %usrmerged for KMPs in the future. It may be able to infer it from
the filelist, too.

Currently %variant is passed to kernel scriptlets but is not used in the
scripts that made it into s-m-t. Variant ties the binary kernel to the
corresponding source package (default - '', debug - '', azure - azure, rt - rt,
etc).

%image (as well as other kernel-specific parameters) is not used by KMPs and
can not generally be available because the kernel may change the %image value
without the KMP being aware.


You are receiving this mail because: