CVS: src/si/phase4/package-build net-tools.xml,NONE,1.1

Mats Wichmann <[email protected]>
Newsgroups gmane.linux.lsb.implementation
Message-ID <[email protected]>
Update of /cvsroot/lsb/src/si/phase4/package-build
In directory sc8-pr-cvs1:/tmp/cvs-serv15095/package-build

Added Files:
	net-tools.xml 
Log Message:
Recreate net-tools.xml in the correct directory (oops).
ifconfig and route are installed from net-tools, so that
we can bring up a network in the boot and uml modes.
net-tools is not currently built in the test mode.


--- NEW FILE ---
<package>
	<name>net-tools</name>
	<version>&net-tools-version;</version>

	<prebuild>
		<unpack>
			<archive>&packages_dir;/&net-tools-package;</archive>
			<destination>&phase4_build_dir;</destination>
		</unpack>
	</prebuild>

	<build>
		<execute>
			<base>&phase4_build_dir;/&net-tools-directory;</base>
			<command>yes</command>
			<param>""</param>
			<param>| make</param>
		</execute>
	</build>

	<postbuild>
		<make>
			<base>&phase4_build_dir;/&net-tools-directory;</base>
			<param>update</param>
			<param>BASEDIR=&LSBsi-phase4-install;/tmp/net-tools</param>
		</make>

		<move>
		    <base>&LSBsi-phase4-install;/tmp/net-tools</base>
		    <source>sbin/ifconfig</source>
		    <destination>&LSBsi-phase4-install;/sbin</destination>
		</move>

		<move>
		    <base>&LSBsi-phase4-install;/tmp/net-tools</base>
		    <source>sbin/route</source>
		    <destination>&LSBsi-phase4-install;/sbin</destination>
		</move>

		<remove>&LSBsi-phase4-install;/tmp/net-tools</remove>
		<remove>&phase4_build_dir;/&net-tools-directory;</remove>
	</postbuild>
</package>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.