public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] possible problems with baselayout-1.6.3 ?
@ 2001-09-16 18:36 Martin Schlemmer
  0 siblings, 0 replies; only message in thread
From: Martin Schlemmer @ 2001-09-16 18:36 UTC (permalink / raw
  To: Gentoo-Dev

hi

ok, due to sertain factors, i rather merged from baselayout-1.5.4 to
baselayout-1.6.3 (yes, i know not supported ;-))

now, i foresee a problem with baselayout-1.6.3's ebuild.
it does not create /etc/runlevels when merging with '/' as root, which
for merging from rc5 system is a problem, also if /etc/runlevels is
shot, removing it and remerging baselayout-1.6.3 could be an answer, but
not with the current .ebuild.

here is a proposed fix:

baselayout-1.6.3.ebuild.diff:
--------------cut here---------------------
*** baselayout-1.6.3.ebuild.orig	Sun Sep 16 17:21:53 2001
--- baselayout-1.6.3.ebuild	Sun Sep 16 17:26:50 2001
***************
*** 200,206 ****
  	rm ${S}/init.d/runscript.c
  
  	#skip this if we are merging to ROOT
! 	[ "$ROOT" = "/" ] && return
  	
  	#set up default runlevel symlinks
  	local bar
--- 200,209 ----
  	rm ${S}/init.d/runscript.c
  
  	#skip this if we are merging to ROOT
! 	#[ "$ROOT" = "/" ] && return
! 	#only skip this if /etc/runlevels exists
! 	#can also be useful if updating from rc5 system 
! 	[ "$ROOT" = "/" ] && [ -d /etc/runlevels ] && return
  	
  	#set up default runlevel symlinks
  	local bar
-------------cut here------------------------

greetings
MS




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-17  0:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-16 18:36 [gentoo-dev] possible problems with baselayout-1.6.3 ? Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox