Skip to content

Instantly share code, notes, and snippets.

@mikedougherty
Created March 9, 2016 00:14
Show Gist options
  • Save mikedougherty/b490728247229c6b6b97 to your computer and use it in GitHub Desktop.
Save mikedougherty/b490728247229c6b6b97 to your computer and use it in GitHub Desktop.
Dir {
ArchiveDir "/repos/apt/repo";
CacheDir "/repos/apt/repo/db";
};
Default {
Packages::Compress ". gzip bzip2";
Sources::Compress ". gzip bzip2";
Contents::Compress ". gzip bzip2";
};
TreeDefault {
BinCacheDB "packages-$(SECTION)-$(ARCH).db";
Directory "pool/$(SECTION)";
Packages "$(DIST)/$(SECTION)/binary-$(ARCH)/Packages";
SrcDirectory "pool/$(SECTION)";
Sources "$(DIST)/$(SECTION)/source/Sources";
Contents "$(DIST)/$(SECTION)/Contents-$(ARCH)";
FileList "/repos/apt/repo/$(DIST)/$(SECTION)/filelist";
};
Tree "dists/debian-jessie" {
Sections "main";
Architectures "amd64 i386";
}
Tree "dists/debian-stretch" {
Sections "main";
Architectures "amd64 i386";
}
Tree "dists/debian-wheezy" {
Sections "main";
Architectures "amd64 i386";
}
Tree "dists/ubuntu-precise" {
Sections "main";
Architectures "amd64 i386";
}
Tree "dists/ubuntu-trusty" {
Sections "main";
Architectures "amd64 i386";
}
Tree "dists/ubuntu-wily" {
Sections "main";
Architectures "amd64 i386";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment