mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
initrd: bring back to life. Easy! :-)
This commit is contained in:
@@ -133,6 +133,8 @@ usually extra Buildroot targets.
|
||||
config_fragments = [
|
||||
os.path.join(self.env['root_dir'], 'buildroot_config', 'default')
|
||||
] + self.env['config_fragment']
|
||||
if self.env['initrd']:
|
||||
configs.append('BR2_TARGET_ROOTFS_CPIO=y')
|
||||
# TODO Can't get rid of these for now with nice fragments on Buildroot:
|
||||
# http://stackoverflow.com/questions/44078245/is-it-possible-to-use-config-fragments-with-buildroots-config
|
||||
self.sh.write_configs(self.env['buildroot_config_file'], configs, config_fragments)
|
||||
|
||||
Reference in New Issue
Block a user