diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-05-16 20:48:30 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-05-16 20:48:30 +0000 |
commit | ac749432848c6b3d92a36d062cdb60e36d9d5577 (patch) | |
tree | 268cf7837ff8ef6ed599e4fcc91571e490063765 | |
parent | 4c01933fda8b15f10a9f1a308af10c9e6ee81294 (diff) | |
download | draklive-ac749432848c6b3d92a36d062cdb60e36d9d5577.tar draklive-ac749432848c6b3d92a36d062cdb60e36d9d5577.tar.gz draklive-ac749432848c6b3d92a36d062cdb60e36d9d5577.tar.bz2 draklive-ac749432848c6b3d92a36d062cdb60e36d9d5577.tar.xz draklive-ac749432848c6b3d92a36d062cdb60e36d9d5577.zip |
allow to include loopback modules in master images by defining modules sets in live->{packs} and selecting them from live->{settings}{pack}
-rwxr-xr-x | draklive | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -824,7 +824,9 @@ sub create_loopback_files { sub list_selected_loopbacks { my ($live); - (map { $_->{path} ? $_->{path} : () } @{$live->{mount}{dirs} || []}); + (map { $_->{path} ? $_->{path} : () } @{$live->{mount}{dirs} || []}), + (map { $live->{prefix}{build}{modules} . '/' . $_ } + $live->{settings}{pack} ? @{$live->{packs}{$live->{settings}{pack}} || []} : ()); } #- mainly for storage-specific subroutines |