4.1.0 (?? September 2018)
[NEW] Options -j and -x are added.
[NEW] Option -J is added to the all utilities.
-[NEW] Options -f and -s are added to portsreinstall-chroot(8).
+[NEW] Options -f, -g and -s are added to portsreinstall-chroot(8).
[NEW] auto and destroy commands are added to portsreinstall-chroot(8).
[NEW] pkg, make, show build_conflict_pkgs, show inst_conflict_pkgs, show errormessage, show inst_by_pkg, show inst_built_default, show inst_built_custom, show fossil, show moved, show leaves and show obsolete commands are added.
[NEW] Command show status newly supports inst_by_pkg, inst_built_default, inst_built_custom and fossil.
PROGRAM_DEPENDS='STARTER_GUEST_CLEAN'
_program_exec_and_record_completion__operation ()
{
- local exitstatus
+ local opts opt_smart
[ $opt_fullcourse = no ] && return
message_section_title "Full course main: Initiate the reinstallation process"
opts=
[ $opt_batch_mode = yes ] && opts='-Ya'
- chroot "$opt_basedir"/builder /usr/bin/env ${PROGRAM} -SJCGjqx $opts
+ opt_smart=
+ [ $opt_upgraded_system = no ] && opt_smart='-q'
+ chroot "$opt_basedir"/builder /usr/bin/env ${PROGRAM} -SJCGjx $opts $opt_smart
message_echo
}
program_exec_and_record_completion STARTER_GUEST_INIT_REINST
d invalidate-mount-privilege opt_invalidate_mount_privilege no yes
e extra-dirs opt_extra_dirs '' :
f fullcourse opt_fullcourse no yes
+g upgraded-system opt_upgraded_system no yes
p load-pkgtoolsconf-as-default opt_load_pkgtoolsconf undef default
P load-pkgtoolsconf-as-override opt_load_pkgtoolsconf undef override
Q ignore-pkgtoolsconf opt_load_pkgtoolsconf undef no
-d : Forcibly invalidate the privilege of mounting/unmounting file systems.
-e dir[,dir2[,...]] : Extra directories to mount for the chroot environment.
-f : Full course mode.
+ -g : Adjust all operations as post-processes after system upgrade.
-P : Import settings from pkgtools.conf(5) as the secondary if exists.
-p : Import settings from pkgtools.conf(5) as the primary if exists (default).
-Q : Ignore pkgtools.conf(5) even if it exists.
Resuming \fBdo\fR command automatically executes \fBportsreinstall\fR(8) in the builder \fBchroot\fR(8) environment.
With \fB\-a\fR option, the all detected leaf and obsolete packages will be deleted.
.PD
+.IP \fB\-g\fR
+.PD 0
+.TP
+\fB\-\-upgraded\-system\fR
+Adjust the all operations to be suitable as post-processes after system upgrade.
+Concretely, the full course mode is adjusted to reinstall the all ports by removing \fB\-q\fR option of \fBportsreinstall\fR(8).
+.PD
.IP \fB\-P\fR
.PD 0
.TP