Add (commented) 'vital' flag to the runtime packages. Support for

it is expected in pkg-1.8.0, which will cause 'pkg del -afy' to not
destroy a system by forcefully removing everything.

As there are valid use cases for doing such (test jails, for example),
it will be overrideable.

In addition, ensure /dev and /tmp exist, as /dev is not created by
default currently, and pkg(8) requires /tmp to exist, which is also
not created by default.

This needs to be moved to the clibs package, since runtime depends on
that package, however I need to first verify that it will work as it
is expected.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-05-10 00:38:14 +00:00
parent df890b8e73
commit de48750cce

View File

@ -10,6 +10,7 @@ categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
#vital = true
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
@ -27,3 +28,7 @@ deps: {
version: "%VERSION%"
}
}
directories {
/dev = "y";
/tmp = "y";
}