summaryrefslogtreecommitdiffstats
path: root/config/auto_inst.cfg.pl
diff options
context:
space:
mode:
Diffstat (limited to 'config/auto_inst.cfg.pl')
-rw-r--r--config/auto_inst.cfg.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/auto_inst.cfg.pl b/config/auto_inst.cfg.pl
index 8299ec1..a1cbf2b 100644
--- a/config/auto_inst.cfg.pl
+++ b/config/auto_inst.cfg.pl
@@ -230,7 +230,12 @@ $o = {
'match_all_hardware' => 1,
'excludedocs' => 0,
'postInstallNonRooted' => join(";",
- "cp /tmp/media/$ENV{DRAKLIVE_ARCH}/release-notes.* /mnt",
+ # drakx-in-chroot roots the mount point one level higher when
+ # the build system arch matches DRAKLIVE_ARCH.
+ "if [ -d /tmp/media/$ENV{DRAKLIVE_ARCH} ]",
+ "then cp /tmp/media/$ENV{DRAKLIVE_ARCH}/release-notes.* /mnt",
+ "else cp /tmp/media/release-notes.* /mnt",
+ "fi",
"chmod 0644 /mnt/release-notes.*",
),
'postInstall' => join(";",