cvs commit: ALFS/profiles/BLFS/chapter23 db.xml db3.xml postgresql.xml

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Jul 3 20:35:57 PDT 2004


kpfleming    04/07/03 21:35:57

  Modified:    profiles/BLFS/chapter23 db.xml db3.xml postgresql.xml
  Log:
  use ALFS elements properly
  split patching into new stage
  split postgres database initialization into new stage
  
  Revision  Changes    Path
  1.4       +7 -1      ALFS/profiles/BLFS/chapter23/db.xml
  
  Index: db.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter23/db.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- db.xml	3 Jul 2004 15:33:55 -0000	1.3
  +++ db.xml	4 Jul 2004 03:35:57 -0000	1.4
  @@ -7,7 +7,7 @@
   		</unpack>
   	</stage>
   
  -	<stage name="Installing">
  +	<stage name="Patching">
   		<stageinfo>
   			<base>&build_dir;/&db-directory;/build_unix</base>
   		</stageinfo>
  @@ -23,6 +23,12 @@
   			<param>-p0</param>
   			<param>-i &packages_dir;/&db-patch2;</param>
   		</patch>
  +	</stage>
  +
  +	<stage name="Installing">
  +		<stageinfo>
  +			<base>&build_dir;/&db-directory;/build_unix</base>
  +		</stageinfo>
   
   		<configure command="../dist/configure">
   			<param>--prefix=/usr</param>
  
  
  
  1.3       +6 -1      ALFS/profiles/BLFS/chapter23/db3.xml
  
  Index: db3.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter23/db3.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- db3.xml	3 Jul 2004 15:33:55 -0000	1.2
  +++ db3.xml	4 Jul 2004 03:35:57 -0000	1.3
  @@ -35,7 +35,12 @@
   			<destination>/opt/db-3.3/include/db_185.h</destination>
   		</move>
   
  -		<execute command = "ln -nsf /opt/db-3.3/include /usr/include/db3" />
  +		<link>
  +			<option>no-dereference</option>
  +			<option>force</option>
  +			<target>/opt/db-3.3/include</target>
  +			<name>/usr/include/db3</name>
  +		</link>
   	</stage>
   
   	<stage name="Cleanup">
  
  
  
  1.4       +9 -1      ALFS/profiles/BLFS/chapter23/postgresql.xml
  
  Index: postgresql.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter23/postgresql.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- postgresql.xml	3 Jul 2004 16:12:14 -0000	1.3
  +++ postgresql.xml	4 Jul 2004 03:35:57 -0000	1.4
  @@ -42,8 +42,16 @@
   		<ownership user="postgres">
   		        <name>/var/pgsql/data</name>
   		</ownership>
  +	</stage>
  +
  +	<stage name="Initializing database">
  +		<stageinfo>
  +			<user>postgres</user>
  +		</stageinfo>
   
  -		<execute command="su - postgres -c '/usr/bin/initdb -D /var/pgsql/data'" />
  +		<execute command="initdb">
  +			<param>-D /var/pgsql/data</param>
  +		</execute>
   	</stage>
   
   	<stage name="Installing bootscript and configuration">
  
  
  



More information about the alfs-log mailing list