git: bootstrap: Add workaround for chflagsat() from 4.0.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Fri Oct 21 06:17:45 PDT 2016
commit 9053551a387b4036a67dbca09e5ca53d74d6f253
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Fri Oct 21 13:35:12 2016 +0300
bootstrap: Add workaround for chflagsat() from 4.0.
Avoid failing syscalls during installworld while updating from DragonFly 4.0.
Add special private version of chflagsat() to aid while performing migration.
Add triple protection for this private implementation variant.
Hopefully chflags-compat.h would never need any newer additions.
Since there are other issues that require both installkernel and installworld,
standard installkernel, reboot and installworld is not possible while updating
to recent DragonFly releases. chflags(1) must be handled with care.
Tested-on: kern.osreldate == 400000 updating straight to master (4.7).
installworld step fail only on single non fatal chflags: invalid flag: xlink
For make upgrade to work sendmail must be removed from /etc/mail/mailer.conf
reboot(8) must be used cause shutdown is only functional only on new kernel.
Submitted-by: dillon@
Summary of changes:
usr.bin/chflags/Makefile | 8 ++++-
.../chflags/chflags-compat.h | 36 ++++++++++++++++++++--
2 files changed, 40 insertions(+), 4 deletions(-)
copy sys/vfs/hammer2/hammer2_xxhash.h => usr.bin/chflags/chflags-compat.h (73%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9053551a387b4036a67dbca09e5ca53d74d6f253
--
DragonFly BSD source repository
More information about the Commits
mailing list