[Simple-cdd-devel] Creating custom installer from two repos
Vagrant Cascadian
vagrant at debian.org
Sat Apr 29 02:49:55 UTC 2017
On 2017-03-01, Babak Yakhchali wrote:
> I need to install many debs from an external repo and some debs like mysql
> and apache from official debian repos. I've created a virutal machine and
> installed all packages I need. now I have all packages in
> /var/cache/apt/archive .. is there anyway I can use all this packages with
> simple-cdd?
Use --local-packages=/var/cache/apt/archive/ on the commandline, or
local_packages=/var/cache/apt/archive/ in a profiles/*.conf file.
You'll also want to make sure to add those packages to
profiles/*.packages.
> if it is not possible how can I add the extra repo when using
> build-simple-cdd?
I think it's only available as a configuration file option, and you may
need several other options as well:
debian_mirror_extra: if set, also get packages from this mirror
mirror_components_extra: distribution components to use when getting packages from debian_mirror_extra
debian_mirror_extra_dist: set the distribution used, if different from
the base distribution
keyring: use specified keyrings (comma-separated) for verifying packages
With keyring, be sure to specify both the base keyring, and your
additional keyring, e.g.:
keyring=/usr/share/keyrings/debian-archive-keyring.gpg,/path/to/other/archive/keyring.gpg
I'm fairly sure all these features are supported in the version of
reprepro in Debian Jessie, but I'd recommend trying the newer version of
simple-cdd, as it's much easier to troubleshoot.
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20170428/90ea8f70/attachment.sig>
More information about the Simple-cdd-devel
mailing list