Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178289 - catalyst-2.0.4 livecd-stage2 fails if "/etc/X11/xinit" does not exists
Summary: catalyst-2.0.4 livecd-stage2 fails if "/etc/X11/xinit" does not exists
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL: http://dupoux.free.fr/temp01/catalyst...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 08:14 UTC by fdupoux
Modified: 2007-08-29 18:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fdupoux 2007-05-13 08:14:46 UTC
With catalyst-1.0.4, livecd-stage2 fails if the directory "/etc/X11/xinit" does not exists before.
It worked before, but it seems this directory is not created by the new Xorg version (I use ~x86 for this package to have xorg-server-1.3.0.0)

You just need to add a line in /usr/lib/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh at line 89:

if [ -n "${clst_livecd_xinitrc}" ]
then
  mkdir -p ${clst_chroot_path}/etc/X11/xinit # Add this line to fix the bug
  cp -f ${clst_livecd_xinitrc} \
	${clst_chroot_path}/etc/X11/xinit/xinitrc
fi

The problem is cp fails when this directory did not exist


Reproducible: Always

Steps to Reproduce:
1. Install catalyst-1.0.4
2. Install package xorg-server-1.3.0.0 in livecd-stage1
3. Run livecd-stage2
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-23 13:57:19 UTC
Thanks for pointing that out.  I'm going to be resuming work on catalyst in the near future and will fix this then.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-29 17:17:54 UTC
OK.  I've now fixed this in SVN and it will show up in the next release of catalyst.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-29 18:22:20 UTC
This is now in catalyst 2.0.5_pre1 and ready for testing.