aboutsummaryrefslogtreecommitdiff
path: root/release/scripts/mtree-to-plist.awk
Commit message (Collapse)AuthorAgeFilesLines
* Reapply "pkgbase: Create a FreeBSD-dtb package"Emmanuel Vadot2024-02-031-6/+14
| | | | | | | | | | | | This reverts commit 9bbe06b004e2cadb55a3792c77991ee640bf0f52. Before that dtbs where included in each kernel packages which prevents us to install multiple kernels. Fix mtree-to-plist.awk to only generate a dtb.plist when we create the kernel one (because dtb are installed during make installkernel). Sponsored by: Beckhoff Automation GmbH & Co. KG
* Revert "pkgbase: Create a FreeBSD-dtb package"Emmanuel Vadot2024-02-021-14/+6
| | | | | | | | | Somehow this doesn't work iwth make packages due to some kind of a race. The package is first created correctly but later in the process it is overwritten by a badly created empty package. Revert in the mean time so we can have working pkgbase on arm/arm64 This reverts commit a5afd7920d50ff23f91bdbabb1f0fd7ba028ba9e.
* pkgbase: Create a FreeBSD-dtb packageEmmanuel Vadot2024-01-291-6/+14
| | | | | | | | | Before that dtbs where included in each kernel packages which prevents us to install multiple kernels. Differential Revision: https://reviews.freebsd.org/D43632 Reviewed by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG
* pkgbase: use -dev,-dbg instead of -development,-debugEd Maste2020-05-201-1/+1
| | | | | | | | | | | | | | | | | | -development is long and awkward, and is also inconsistent with prior art from the Linux world, which uses -dev (Debian) or -devel (Red Hat). Follow the Debian convention, and similarly for debug info packages. Also remove redundant pkgbase development tag from includes. We already tag include files with package=runtime,dev; there is no need to separately tag them as dev. Discussed with: bapt Reviewed by: manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24139 Notes: svn path=/head/; revision=361290
* pkgbase: remove more profile package leftoversEd Maste2020-04-011-1/+1
| | | | | | | | As of r356797 we don't produce profile packages. r358549 removed one remnant of profile package support; clean up another now. Notes: svn path=/head/; revision=359519
* pkgbase: Move device.hints from the runtime to the bootloader packageEmmanuel Vadot2020-03-241-3/+2
| | | | | | | | | | | | | | | | | Also mark it as config file so if a user changes this file pkg will attempt to merge the new file upon an update. device.hints is neither related to runtime or loader but it make more sense to have it in loader in case some user delete /boot/ and wants to recreate it, now only two packages are required FreeBSD-bootloader and the kernel package. While here change where we override the package for files installed in /boot, this allow us to keep other tags (such as config). Reported by: pizzamig Reviewed by: bapt pizzamig emaste Differential Revision: https://reviews.freebsd.org/D24159 Notes: svn path=/head/; revision=359265
* pkgbase: Move the bootloader related files to a new FreeBSD-bootloader packageEmmanuel Vadot2019-09-051-0/+3
| | | | | | | | | | Bootloader file isn't needed for jails so don't include it in FreeBSD-runtime. Reviewed by: bapt, delphij, gjb Differential Revision: https://reviews.freebsd.org/D21496 Notes: svn path=/head/; revision=351848
* Avoid adding the '-release' suffix to non-debug kernel packages.Glen Barber2016-03-081-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296545
* Prefix lib32, profile, debug, and development packagesGlen Barber2016-03-081-7/+3
| | | | | | | | | with 'runtime-' for consistency with other packages. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296531
* Fix naming inconsistency with lib32 debug packages.Glen Barber2016-02-011-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295127
* Add 'stagekernel' target, which invokes 'distributekernel'Glen Barber2016-01-271-2/+20
| | | | | | | | | | | | | | | | | | | | with -DNO_ROOT to create the METALOG mtree(8) file. Separate the default STAGEDIR for world (WSTAGEDIR) and kernel (KSTAGEDIR). Fix the 'create-kernel-packages' target to work properly. Evaluate if 'kernel' is set when invoking mtree-to-plist.awk, which splits the kernel and kernel.debug into separate plist files. Fix METALOG creation when building/packaging multiple kernels. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=294942
* development and profile are special tags and should always be the last componentBaptiste Daroussin2015-03-181-3/+15
| | | | | | | of the name if present Notes: svn path=/projects/release-pkg/; revision=280215
* Support a config tag to flag a file that should be merge on upgradeBaptiste Daroussin2015-03-051-6/+22
| | | | Notes: svn path=/projects/release-pkg/; revision=279660
* Convert tagged directories in mtree into their plist formBaptiste Daroussin2015-03-051-2/+4
| | | | Notes: svn path=/projects/release-pkg/; revision=279653
* Simplify and clean awk scriptBaptiste Daroussin2015-03-051-13/+9
| | | | | | | Suggested by: dteske Notes: svn path=/projects/release-pkg/; revision=279608
* If the package is "runtime-something" rename into "something"Baptiste Daroussin2015-03-041-0/+1
| | | | Notes: svn path=/projects/release-pkg/; revision=279606
* Improve mtree to plist converterBaptiste Daroussin2015-03-041-10/+34
| | | | | | | | | | | | | | 1/ Analyse the fields from mtree lines to extract: - owner, - group, - mode, - flags, - tags, 2/ Ignore non tagged entries 3/ For now concat tags to form a futur package name Notes: svn path=/projects/release-pkg/; revision=279605
* Add a awk script to convert the metalog output into plistBaptiste Daroussin2015-02-081-0/+15
Splitting according to tags Notes: svn path=/projects/release-pkg/; revision=278391