Initial commit
This commit is contained in:
59
apt/apt.conf.d/01autoremove
Normal file
59
apt/apt.conf.d/01autoremove
Normal file
@@ -0,0 +1,59 @@
|
||||
APT
|
||||
{
|
||||
NeverAutoRemove
|
||||
{
|
||||
"^firmware-linux.*";
|
||||
"^linux-firmware$";
|
||||
"^linux-image-[a-z0-9]*$";
|
||||
"^linux-image-[a-z0-9]*-[a-z0-9]*$";
|
||||
};
|
||||
|
||||
VersionedKernelPackages
|
||||
{
|
||||
# linux kernels
|
||||
"linux-image";
|
||||
"linux-headers";
|
||||
"linux-image-extra";
|
||||
"linux-modules";
|
||||
"linux-modules-extra";
|
||||
"linux-signed-image";
|
||||
"linux-image-unsigned";
|
||||
# kfreebsd kernels
|
||||
"kfreebsd-image";
|
||||
"kfreebsd-headers";
|
||||
# hurd kernels
|
||||
"gnumach-image";
|
||||
# (out-of-tree) modules
|
||||
".*-modules";
|
||||
".*-kernel";
|
||||
"linux-backports-modules-.*";
|
||||
"linux-modules-.*";
|
||||
# tools
|
||||
"linux-tools";
|
||||
"linux-cloud-tools";
|
||||
# build info
|
||||
"linux-buildinfo";
|
||||
# source code
|
||||
"linux-source";
|
||||
};
|
||||
|
||||
Never-MarkAuto-Sections
|
||||
{
|
||||
"metapackages";
|
||||
"contrib/metapackages";
|
||||
"non-free/metapackages";
|
||||
"restricted/metapackages";
|
||||
"universe/metapackages";
|
||||
"multiverse/metapackages";
|
||||
};
|
||||
|
||||
Move-Autobit-Sections
|
||||
{
|
||||
"oldlibs";
|
||||
"contrib/oldlibs";
|
||||
"non-free/oldlibs";
|
||||
"restricted/oldlibs";
|
||||
"universe/oldlibs";
|
||||
"multiverse/oldlibs";
|
||||
};
|
||||
};
|
||||
56
apt/apt.conf.d/01autoremove-kernels
Normal file
56
apt/apt.conf.d/01autoremove-kernels
Normal file
@@ -0,0 +1,56 @@
|
||||
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
|
||||
APT::NeverAutoRemove
|
||||
{
|
||||
"^linux-image-4\.19\.97-v7l\+$";
|
||||
"^linux-image-5\.10\.17-v8\+$";
|
||||
"^linux-headers-4\.19\.97-v7l\+$";
|
||||
"^linux-headers-5\.10\.17-v8\+$";
|
||||
"^linux-image-extra-4\.19\.97-v7l\+$";
|
||||
"^linux-image-extra-5\.10\.17-v8\+$";
|
||||
"^linux-modules-4\.19\.97-v7l\+$";
|
||||
"^linux-modules-5\.10\.17-v8\+$";
|
||||
"^linux-modules-extra-4\.19\.97-v7l\+$";
|
||||
"^linux-modules-extra-5\.10\.17-v8\+$";
|
||||
"^linux-signed-image-4\.19\.97-v7l\+$";
|
||||
"^linux-signed-image-5\.10\.17-v8\+$";
|
||||
"^linux-image-unsigned-4\.19\.97-v7l\+$";
|
||||
"^linux-image-unsigned-5\.10\.17-v8\+$";
|
||||
"^kfreebsd-image-4\.19\.97-v7l\+$";
|
||||
"^kfreebsd-image-5\.10\.17-v8\+$";
|
||||
"^kfreebsd-headers-4\.19\.97-v7l\+$";
|
||||
"^kfreebsd-headers-5\.10\.17-v8\+$";
|
||||
"^gnumach-image-4\.19\.97-v7l\+$";
|
||||
"^gnumach-image-5\.10\.17-v8\+$";
|
||||
"^.*-modules-4\.19\.97-v7l\+$";
|
||||
"^.*-modules-5\.10\.17-v8\+$";
|
||||
"^.*-kernel-4\.19\.97-v7l\+$";
|
||||
"^.*-kernel-5\.10\.17-v8\+$";
|
||||
"^linux-backports-modules-.*-4\.19\.97-v7l\+$";
|
||||
"^linux-backports-modules-.*-5\.10\.17-v8\+$";
|
||||
"^linux-modules-.*-4\.19\.97-v7l\+$";
|
||||
"^linux-modules-.*-5\.10\.17-v8\+$";
|
||||
"^linux-tools-4\.19\.97-v7l\+$";
|
||||
"^linux-tools-5\.10\.17-v8\+$";
|
||||
"^linux-cloud-tools-4\.19\.97-v7l\+$";
|
||||
"^linux-cloud-tools-5\.10\.17-v8\+$";
|
||||
"^linux-buildinfo-4\.19\.97-v7l\+$";
|
||||
"^linux-buildinfo-5\.10\.17-v8\+$";
|
||||
"^linux-source-4\.19\.97-v7l\+$";
|
||||
"^linux-source-5\.10\.17-v8\+$";
|
||||
};
|
||||
/* Debug information:
|
||||
# dpkg list:
|
||||
# list of installed kernel packages:
|
||||
|
||||
# list of different kernel versions:
|
||||
|
||||
# Installing kernel: (5.10.17-v8+)
|
||||
# Running kernel: ignored (4.19.97-v7l+)
|
||||
# Last kernel:
|
||||
# Previous kernel:
|
||||
# Kernel versions list to keep:
|
||||
|
||||
# Kernel packages (version part) to protect:
|
||||
4\.19\.97-v7l\+
|
||||
5\.10\.17-v8\+
|
||||
*/
|
||||
5
apt/apt.conf.d/05etckeeper
Normal file
5
apt/apt.conf.d/05etckeeper
Normal file
@@ -0,0 +1,5 @@
|
||||
DPkg::Pre-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; };
|
||||
DPkg::Post-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; };
|
||||
|
||||
RPM::Pre-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; };
|
||||
RPM::Post-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; };
|
||||
3
apt/apt.conf.d/20listchanges
Normal file
3
apt/apt.conf.d/20listchanges
Normal file
@@ -0,0 +1,3 @@
|
||||
DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt || test $? -lt 10"; };
|
||||
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
|
||||
DPkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD "20";
|
||||
5
apt/apt.conf.d/50raspi
Normal file
5
apt/apt.conf.d/50raspi
Normal file
@@ -0,0 +1,5 @@
|
||||
# never use pdiffs. Current implementation is very slow on low-powered devices
|
||||
Acquire::PDiffs "0";
|
||||
|
||||
# download up to 5 pdiffs:
|
||||
#Acquire::PDiffs::FileLimit "5";
|
||||
3
apt/apt.conf.d/70debconf
Normal file
3
apt/apt.conf.d/70debconf
Normal file
@@ -0,0 +1,3 @@
|
||||
// Pre-configure all packages with debconf before they are installed.
|
||||
// If you don't like it, comment it out.
|
||||
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
|
||||
10
apt/listchanges.conf
Normal file
10
apt/listchanges.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
[apt]
|
||||
frontend=pager
|
||||
which=news
|
||||
email_address=root
|
||||
email_format=text
|
||||
confirm=false
|
||||
headers=false
|
||||
reverse=false
|
||||
save_seen=/var/lib/apt/listchanges.db
|
||||
|
||||
3
apt/sources.list
Normal file
3
apt/sources.list
Normal file
@@ -0,0 +1,3 @@
|
||||
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
|
||||
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
||||
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
|
||||
3
apt/sources.list.d/raspi.list
Normal file
3
apt/sources.list.d/raspi.list
Normal file
@@ -0,0 +1,3 @@
|
||||
deb http://archive.raspberrypi.org/debian/ buster main
|
||||
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
||||
#deb-src http://archive.raspberrypi.org/debian/ buster main
|
||||
1
apt/sources.list.d/vscode.list
Normal file
1
apt/sources.list.d/vscode.list
Normal file
@@ -0,0 +1 @@
|
||||
### Disabled by raspberrypi-sys-mods ###
|
||||
BIN
apt/trusted.gpg
Normal file
BIN
apt/trusted.gpg
Normal file
Binary file not shown.
0
apt/trusted.gpg.d/microsoft.gpg
Normal file
0
apt/trusted.gpg.d/microsoft.gpg
Normal file
Reference in New Issue
Block a user