![]() ![]() ![]() # Prime status file with a few system libraries that don't o Apt::Architecture=`dpkg-architecture -qDEB_HOST_ARCH` \ĪPT_GET="$APT_GET -o Dir::State::Status=`pwd`/$APTDIR/state/status" o Debug::pkgDepCache::AutoInstall=true \ o Dir::Etc::Preferences=`pwd`/preferences.$TYPE.local \ # All these options make apt read the right sources list, and use APTDIR for # are downloaded and autoclean doesnt run wild.Īpt-ftparchive packages $LOCALUDEBDIR > $LOCALUDEBDIR/PackagesĬat $LOCALUDEBDIR/Packages | gzip > $LOCALUDEBDIR/Packages.gzĮcho "* Warning: Building with localudebs." >&2Įcho "* This build should not be used for official purposes." >&2 ![]() # debs are kept in another apt cache so only the needed Packages files # ONLINE - update Packages files (default: y) # LOCALUDEBDIR - directory for locally provided udebs (default: localudebs) # UDEBDIR - directory for ready-to-use udebs (default: udebs) # DEBUGUDEBDIR - directory for debug udebs (default: debugudebs) # DEBUG - build debug udebs from source (default: n) # APTDIR - basename for the apt directory (default: apt.$TYPE) mini-dinstall then generates the files required by APT, such as Packages.gz.# Download deb or udeb package with the help of apt-get This is why administrators must always change this field before building a package, and set it to internal or updates, depending on the target location. *.changes files also contain the name of the target distribution (often unstable) mentioned in the latest debian/changelog entry, and mini-dinstall uses this information to decide where the package should be installed. ![]() These files contain a list of all other files associated with the version of the package ( *.deb, *.dsc, *.diff.gz/ *., *., or their equivalents with other compression tools), and these allow mini-dinstall to know which files to install. The mini-dinstall command reads the *.changes file created when the Debian package is generated. This tool keeps an eye on an incoming/ directory (in our case, /srv/vhosts/packages/mini-dinstall/incoming/) and waits for new packages there when a package is uploaded, it is installed into a Debian archive at /srv/vhosts/packages/. The management of the archive itself is delegated to the mini-dinstall command (in the similarly-named package). The administrators therefore configure a virtual host on their internal HTTP server, with /srv/vhosts/packages/ as the root of the associated web space. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |