From de52ea17f92e13104b8bad6773105af76e6d2fdf Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Thu, 3 Jan 2019 18:40:14 +0000 Subject: Create /media in the installed system (mga#24097) We avoid copying /media from the live system to avoid copying unwanted mount points, but we want the base directory to exist in the installed system. --- NEWS | 1 + draklive-install | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 7d550fd..a0be9dc 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- create /media in the installed system (mga#24097) - remove orphans after removing unwanted locales / hardware support 2.17 diff --git a/draklive-install b/draklive-install index 319d740..58eb445 100755 --- a/draklive-install +++ b/draklive-install @@ -230,6 +230,8 @@ sub prepare_root { #- create required directories and devices (early to have a consistent root before calling other programs) my $_wait = $in->wait_message('', N("Please wait")); fs::any::prepare_minimal_root(); + #- /media isn't included in the minimal root, and we don't copy it to avoid copying stale mount points + mkdir_p("$::prefix/media"); } sub build_copy_command { -- cgit v1.2.1