Element : <archive>

Syntax


<!ELEMENT archive     (#PCDATA)>

This element occurs in the Element: <unpack>.

Description

The element archive is used to specify the archive file in an unpack operation.

Examples

<unpack>
        <archive>/usr/src/lfs-packages/gzip.1.2.4a.tar.gz</archive>
        <destination>/usr/src</destination>
</unpack>

The equivalent bash script is :

echo Unpacking /usr/src/lfs-packages/gzip.1.2.4a.tar.gz into /usr/src
cd /usr/src
tar xzvf /usr/src/lfs-packages/gzip.1.2.4a.tar.gz