aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/makeroot/makeroot.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* revert r302146: makeroot: zero out subsecond component of time= keywordsEd Maste2019-03-271-4/+0
| | | | | | | | | | After r345281 by mhorne subsecond components are supported. PR: 194703 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=345583
* makeroot.sh: allow duplicate entries even with -f <filelist>Ed Maste2018-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | makefs disallows duplicate entries unless the -D option is specified. Previously makeroot.sh enabled -D unless a filelist was provided via the -f options. The filelist logic creates an mtree manifest from the METALOG and the provided filelist by passing them through `sort -u`, so duplicates were not expected. However, duplicates can still occur when a directory appears in multiple packages -- for example, ./etc/pam.d type=dir uname=root gname=wheel mode=0755 ./etc/pam.d type=dir mode=0755 tags=package=runtime ./etc/pam.d type=dir mode=0755 tags=package=at ./etc/pam.d type=dir mode=0755 tags=package=ftp ./etc/pam.d type=dir mode=0755 tags=package=telnet For the purposes of makefs these directory entries are identical, but are of course not identical for sort -u. For now just leave the allow duplicates -D flag enabled. PR: 228606 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=334381
* makeroot: zero out subsecond component of time= keywordsEd Maste2016-06-231-0/+4
| | | | | | | | | | | | | They are currently not supported by makefs(1). PR: 194703 Reviewed by: brooks Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6925 Notes: svn path=/head/; revision=302146
* makeroot: Add -l option to set file system volume labelEd Maste2015-02-061-2/+6
| | | | | | | | Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D1782 Notes: svn path=/head/; revision=278318
* Handle invocation with neither of -e / -fEd Maste2015-02-061-1/+3
| | | | | | | | Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D1780 Notes: svn path=/head/; revision=278317
* remove trailing white space...John-Mark Gurney2014-05-191-2/+2
| | | | | | | fix spelling of unnecessary... Notes: svn path=/head/; revision=266425
* The -B flag is intended to take an argument.Brooks Davis2014-01-301-3/+3
| | | | | | | | | | Fix a couple typos in comments. MFC after: 4 weeks Sponsored by: DARPA, ARFL Notes: svn path=/head/; revision=261302
* Add a sample script to create filesystem images from an installed treeBrooks Davis2013-05-161-0/+236
created by installworld+distribution with the -DNO_ROOT option. Notes: svn path=/head/; revision=250698