[DragonFlyBSD - Bug #3197] DragonFly upgrades

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Jul 30 09:21:24 PDT 2019


Issue #3197 has been updated by justin.


tse wrote:
> If people don't pass a [ -r RELEASE ], then the script will give the release options to select from

Let's go even simpler - if a branch isn't named, as either RELEASE, HEAD, or (Git commit ID), assume that it's an update of whatever branch is currently in place.  No menus or choices needed.

> This script partly replicates the functionality in /usr/Makefile.  Should it totally replicate the functionality (dports-create, dports-download), so the Makefile can be removed?  Or should that functionality be retained elsewhere -- it's not something I've used before

In a perfect world, we'd have this all under the same interface - 'make (whatever)' would do the appropriate actions.  People are very used to having the make function work, so I'm leery of removing that functionality... but on the other hand, I am not the one doing all the work.  Do what you would enjoy working on and let's see what other people think.



----------------------------------------
Bug #3197: DragonFly upgrades
http://bugs.dragonflybsd.org/issues/3197#change-13765

* Author: tse
* Status: New
* Priority: Normal
* Assignee: 
* Category: Feature request
* Target version: 
----------------------------------------
Hiya,

I realize this is quite a simple script, and possibly misses useful features (?). Originally posted to @users, but mailing list line-wraping didn't keep the script fully intact, so copy/paste/test wouldn't of worked

Also, the response on DragonFly Digest encouraged me re-post it here

I've tested it on new installs of 4.8, 5.2, and 5.4, and with installs previously upgraded with `make src-create/src-create-shallow`

It takes this:
------
> cd /usr
> make src-create
> ...
> make buildworld
> make buildkernel
> ...
> make upgrade
------

To this:
------
> /usr/upgrade
Upgrading DragonFly BSD

For more information see:
  `man build`      `man config`
  /usr/src/README  /usr/src/UPDATING
  http://www.dragonflybsd.org/docs/handbook/

It is possible to run this script without root privileges
Usage:  upgrade [configuration]
Configuration is "X86_64_GENERIC"

Latest releases:
  [1]  DragonFly_RELEASE_5_6
  [2]  DragonFly_RELEASE_5_4
  [3]  DragonFly_RELEASE_5_2
  [4]  DragonFly_RELEASE_5_0
  [5]  DragonFly_RELEASE_4_8

Select [1-5]:
------

---Files--------------------------------
upgrade (2.4 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list