mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
make overlay scripts use kernel modules and executables relative to pwd in preparison for 9p
This commit is contained in:
@@ -179,17 +179,24 @@ def main(args, extra_args=None):
|
||||
if not args.baseline:
|
||||
buildroot_configs.extend([
|
||||
'BR2_GLOBAL_PATCH_DIR="{}"'.format(
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'patches', 'global'))),
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'patches', 'global'))
|
||||
),
|
||||
'BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="{}"'.format(
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'busybox_config_fragment'))),
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'busybox_config_fragment'))
|
||||
),
|
||||
'BR2_PACKAGE_OVERRIDE_FILE="{}"'.format(
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'buildroot_override'))),
|
||||
'BR2_ROOTFS_OVERLAY="{}"'.format(
|
||||
path_relative_to_buildroot(common.rootfs_overlay_dir)),
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'buildroot_override'))
|
||||
),
|
||||
'BR2_ROOTFS_OVERLAY="{} {}"'.format(
|
||||
path_relative_to_buildroot(common.rootfs_overlay_dir),
|
||||
path_relative_to_buildroot(common.out_rootfs_overlay_dir),
|
||||
),
|
||||
'BR2_ROOTFS_POST_BUILD_SCRIPT="{}"'.format(
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'rootfs-post-build-script'))),
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'rootfs-post-build-script'))
|
||||
),
|
||||
'BR2_ROOTFS_USERS_TABLES="{}"'.format(
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'user_table'))),
|
||||
path_relative_to_buildroot(os.path.join(common.root_dir, 'user_table'))
|
||||
),
|
||||
])
|
||||
if args.kernel_modules:
|
||||
buildroot_configs.append('BR2_PACKAGE_LKMC=y')
|
||||
|
||||
Reference in New Issue
Block a user