From d7a13b744298fc5daac9e0c907008c6e3e3a57ea Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 29 Aug 2007 17:14:16 +0000 Subject: [PATCH] Make sure we mkdir on /etc/X11/xinit before we put files in it for bug #178289. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1238 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 4 ++++ targets/livecd-stage2/livecd-stage2-controller.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 461ffc69..6fe9cebe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 29 Aug 2007; Chris Gianelloni + targets/livecd-stage2/livecd-stage2-controller.sh: + Make sure we mkdir on /etc/X11/xinit before we put files in it for bug #178289. + 22 Aug 2007; Andrew Gaffney modules/generic_stage_target.py, modules/stage1_target.py, modules/stage2_target.py: diff --git a/targets/livecd-stage2/livecd-stage2-controller.sh b/targets/livecd-stage2/livecd-stage2-controller.sh index 1a4e0b22..b1649f57 100755 --- a/targets/livecd-stage2/livecd-stage2-controller.sh +++ b/targets/livecd-stage2/livecd-stage2-controller.sh @@ -87,6 +87,7 @@ case $1 in # This is moved here, so we can override any default xinitrc if [ -n "${clst_livecd_xinitrc}" ] then + mkdir -p ${clst_chroot_path}/etc/X11/xinit cp -f ${clst_livecd_xinitrc} \ ${clst_chroot_path}/etc/X11/xinit/xinitrc fi -- 2.26.2