Bug 26135 - [FR] conditionally set IMAGE_INIT_LIST
Summary: [FR] conditionally set IMAGE_INIT_LIST
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: mkimage (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 21:27 MSK by Michael Shigorin
Modified: 2011-09-07 18:12 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2011-08-21 21:27:12 MSK
Просьба сделать выставление IMAGE_INIT_LIST в config.mk условным -- требуется для того, чтоб не сбрасывалось при такой организации инклудов (mkimage-profiles):

include $(GLOBAL_BUILDDIR)/distcfg.mk
include $(MKIMAGE_PREFIX)/config.mk

(MKIMAGE_PREFIX приходит тоже из автогенерированного distcfg.mk;
делать сохранялку переменной как-то некрасиво, если нет веских поводов именно затирать значение в mkimage)

Такое изменение проверено и устраивает:

--- config.mk.in~       2010-06-30 18:09:55.000000000 +0300
+++ config.mk.in        2011-08-21 20:11:14.653499449 +0300
@@ -65,7 +65,7 @@
 IMAGE_PACKAGES =
 IMAGE_PACKAGES_REGEXP =
 
-IMAGE_INIT_LIST =
+IMAGE_INIT_LIST ?=
 
 MKI_DESTDIR =
 COPY_TREE =
Comment 1 Repository Robot 2011-09-02 20:02:47 MSK
mkimage-0.2.0-alt1 -> sisyphus:

* Fri Sep 02 2011 Alexey Gladkov <legion@altlinux> 0.2.0-alt1
- conditionally set IMAGE_INIT_LIST (ALT#26135).
- example3: updated base/packages (thx Michael Shigorin).
- tools/mki-copy-pkgs: split processing of pkglists (thx Michael Shigorin).
- tools/mki-copy-isolinux: handle kernel absence (thx Michael Shigorin).