Skip to content

Commit

Permalink
Add (commented) 'vital' flag to the runtime packages. Support for
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gjb authored and gjb committed May 10, 2016
1 parent 4b9a93d commit 8c59d45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release/packages/runtime.ucl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ categories = [ base ]
maintainer = "[email protected]"
www = "https://www.FreeBSD.org"
prefix = "/"
#vital = true
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
Expand All @@ -27,3 +28,7 @@ deps: {
version: "%VERSION%"
}
}
directories {
/dev = "y";
/tmp = "y";
}

0 comments on commit 8c59d45

Please sign in to comment.