diff options
-rwxr-xr-x | draklive | 2 | ||||
-rw-r--r-- | lib/MDV/Draklive/Media.pm | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1893,6 +1893,8 @@ sub complete_config { $live->{settings}{arch} ||= chomp_(`rpm --eval '%{_target_cpu}'`); $live->{media}{title} ||= "live"; + bless $live->{media}, 'MDV::Draklive::Media'; + mkdir_p($live->get_builddir); mkdir_p($live->get_system_root); $live->{mnt} ||= $live->get_builddir . "/mnt"; diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm new file mode 100644 index 0000000..c6aa625 --- /dev/null +++ b/lib/MDV/Draklive/Media.pm @@ -0,0 +1,3 @@ +package MDV::Draklive::Media; + +1; |