Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Commit

Permalink
Merge pull request #174 from swetoast/patch-3
Browse files Browse the repository at this point in the history
Hassbian: make sure that crucial packages are not removed.
  • Loading branch information
Landrash committed Jul 4, 2018
2 parents 59f0cb2 + 33e8529 commit e278d65
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions package/etc/apt/apt.d/01autoremove
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
APT
{
NeverAutoRemove
{
"^firmware-linux.*";
"^linux-firmware$";
"^hassbian-scripts$";
"^raspberrypi-kernel$";
};

VersionedKernelPackages
{
# linux kernels
"linux-image";
"linux-headers";
"linux-image-extra";
"linux-signed-image";
# kfreebsd kernels
"kfreebsd-image";
"kfreebsd-headers";
# hurd kernels
"gnumach-image";
# (out-of-tree) modules
".*-modules";
".*-kernel";
"linux-backports-modules-.*";
# tools
"linux-tools";
};

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";
};
};

0 comments on commit e278d65

Please sign in to comment.