Permalink
Browse files

* Major update to how we do Major Updates

* First, we are dropping the fragile freebsd-update system for doing
  major updates, I.E 10.0 -> 10.1

* Instead switch to grabbing the PC-BSD ISO file, for the major release
  - Do full verification of this ISO file, contents, etc
  - Extract the base/kernel/games/doc/lib32*.txz files
  - Added support for our custom version of "etcmerge" to handle updates
    to /etc
  - System Packages will be installed from the DVD / ISO, preventing issues
    with connectivity problems, and pkgng "hiccups" getting files from the
    net.
  - PBIs will be fetched from internet, but if they fail, will not prevent
    user from getting back to a desktop where they can re-install via AppCafe

* While here, added support for automatic creation of a Boot-Environment before
  the update is started
  • Loading branch information...
1 parent 6b7fcc5 commit b95e8a83c73511568ae4291a54e0f93f6c67ef30 @kmoore134 kmoore134 committed Feb 20, 2014
@@ -29,7 +29,9 @@ all:
install_scripts: first FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)$(PREFIX)/bin/ || $(MKDIR) $(INSTALL_ROOT)$(PREFIX)/bin/
+ @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/ || $(MKDIR) $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/
-$(INSTALL_FILE) pc-updatemanager $(INSTALL_ROOT)$(PREFIX)/bin/
+ -$(INSTALL_FILE) etcmerge $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/
uninstall_scripts: FORCE
@@ -42,7 +44,7 @@ install_dochmod: first FORCE
chmod 755 $(PREFIX)/bin/pc-updatemanager
install_conf: first FORCE
- @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/ || $(MKDIR) $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/
+ @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/ || $(MKDIR) $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/
-$(INSTALL_DIR) conf $(INSTALL_ROOT)$(PREFIX)/share/pcbsd/pc-updatemanager/
Oops, something went wrong.

0 comments on commit b95e8a8

Please sign in to comment.