archeos-apt-setup package

ArcheOS logo

Overview

This source package generates the following udebs:

  • apt-cdrom-setup
  • apt-mirror-setup
  • apt-setup-udeb

How to build the package (standard)

Warning

This section is common to all “simple” archeos packages.

  1. Edit the debian/control file and do the relative modifications (add package to depends, and so on).
  2. You can test the package build with git-buildpackage --git-ignore-new anytime you want.
  3. When ready to deploy a working version, commit your changes the usual way (git add & git commit).
  4. Use git-dch -R to update the changelog file. Edit it properly (if need to change something, but most of the time it doesn’t.) then add it and commit it too (usual git add and git commit).
  5. Build and tag the package with git-buildpackage --git-tag. Push changes upstream with git push && git push --tags
  6. Clean the package with debuild clean.
  7. Upload the packages (all deb files, changes and dsc) to the repository server and import them into the distrubution with reprepro.

The package

The package is patched to use the preseed directive d-i apt-setup/disable-cdrom-entries boolean true into config/debian-installer/preseed.cfg that eliminates the cdrom entries into the installed ArcheOS /etc/apt/sources.list file.

The package needs to be periodically merged with the upstream Debian version and the patch checked.

The patch has been created by the Kali Linux team and the ArcheOS package is shamelessly copied and renamed.

The future

In the future the udeb packages should not be put manually into the config/packages.binary folder (also because they are binary files into a GIT repos...) and a dedicated mirror should be created to include such packages needed during bootstrap/build phases.

In the future we also hope that the patch will be integrated into upstream package.

Howto

Update with Debian upstream version

Note

todo

Fork me on GitHub