Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #5837 | Renato Botelho | 2016-02-05 | 1 | -23/+23 |
| | | | | | | | | | | | | | | | | | | | Since the introduction of pkg_with_pb(), direct calls to this function were added using the following format: if ! pkg_with_pb ... | tee -a $logfile; then What happened in this case is if was always getting a successfull return code from tee call, and pkg_with_pb return was always being ignored leading pfSense-upgrade to keep running when a fatal error happened. Since we need to print pkg output and also send it to log, _exec() call is the best option here. Added necessary flags to make sure necessary actions (unlock additional packages or cleaning up kernel package annotation) are executed on _exit call in fatal cases and replaced all direct calls by _exec() | ||||
* | Fix #5831 using a simpler approach, just setting REPO_AUTOUPDATE=false when ↵ | Renato Botelho | 2016-02-02 | 1 | -0/+4 |
| | | | | it's booting | ||||
* | Revert "Fix #5831" | Renato Botelho | 2016-02-02 | 1 | -4/+4 |
| | | | | This reverts commit 93a8ddf7a4c5d43cbeb623c923eb76659e6f49e0. | ||||
* | Save pkg call return code to use on return. The way it is now is always ↵ | Renato Botelho | 2016-02-01 | 1 | -1/+2 |
| | | | | returning 0. It should fix #5837 | ||||
* | Make additional packages install/delete operations to respect -n (dry-run) | Renato Botelho | 2016-02-01 | 1 | -3/+3 |
| | |||||
* | Reorder pkg_reinstall_all(), no functional changes | Renato Botelho | 2016-02-01 | 1 | -11/+11 |
| | |||||
* | Respect ALL_PACKAGES for package removal | Renato Botelho | 2016-02-01 | 1 | -1/+16 |
| | |||||
* | Fix #5831 | Renato Botelho | 2016-02-01 | 1 | -4/+4 |
| | | | | | | | | | | After PKG_AUTOUPDATE=false was removed, operations done during boot, 2nd and 3rd stages of upgrade process, are trying to update repository metadata. The problem is during this stage we don't have a network available yet and all needed packages were previously downloaded. Add -U parameter to all read/write pkg calls during at these stages to prevent pkg(8) to try to update metadata | ||||
* | Import David W's patch fixing issues with dhcp6c being launched multiple ↵ | Chris Buechler | 2016-01-28 | 1 | -0/+8 |
| | | | | times in some circumstances. Ticket #5621 | ||||
* | Test duplicated slice with fsck after cloning during an upgrade | jim-p | 2016-01-28 | 1 | -0/+1 |
| | |||||
* | Fix #4605 | Edin Sarajlic | 2016-01-27 | 1 | -2/+2 |
| | | | | | After base64 encoding username/password, properly escape characters =,+,/ before submitting auth details | ||||
* | fixes 5818 - Dev Shell - Cmd Tab Completion | NOYB | 2016-01-26 | 1 | -2/+2 |
| | |||||
* | Meant to have show_recordings here. Ticket #5657 | Chris Buechler | 2016-01-26 | 1 | -1/+1 |
| | |||||
* | correct function name. Ticket #5657 | Chris Buechler | 2016-01-26 | 1 | -1/+1 |
| | |||||
* | A couple more refinements for pfSsh.php while I'm here. | jim-p | 2016-01-26 | 1 | -17/+13 |
| | |||||
* | Fix validation of playback file passed to pfSsh.php. Fixes #5657 | jim-p | 2016-01-26 | 1 | -12/+26 |
| | |||||
* | Make sure LANG = C for pkg calls | Renato Botelho | 2016-01-22 | 1 | -0/+2 |
| | |||||
* | Bugfixes & handling $duid and $type, Fixes #4206 | Anders Lind | 2016-01-18 | 1 | -9/+57 |
| | | | | | | | | This patch addresses: 1. Handling of IA_NA and IA_PD strings (that contain IAID+DUID content) using only the DUID part. 2. Fixing regular expression matching with respect to the IAID+DUID string regarding the legal \" substring (used in ISC DHCPv6 leases). 3. Checking the $duid variable before use. Default case for $type in the switch case statement. Please see the ticket for further information. | ||||
* | Change pfSense-upgrade to return time for reboot so GUI can use it | Renato Botelho | 2016-01-14 | 1 | -6/+17 |
| | |||||
* | Reverting accidental change | Stephen Beaver | 2016-01-08 | 1 | -2/+2 |
| | |||||
* | Merge branch 'bugfix-for-4605' of https://github.com/the-real-ed/pfsense | Stephen Beaver | 2016-01-08 | 1 | -2/+3 |
| | | | | | * 'bugfix-for-4605' of https://github.com/the-real-ed/pfsense: Bug fix for #4605. After base64 encoding username/password, properly escape characters =,+,/ before submitting auth details | ||||
* | Do not set PKG_AUTOUPDATE=false anymore and let pkg to update metadata when ↵ | Renato Botelho | 2016-01-07 | 1 | -23/+2 |
| | | | | it's necessary. Some users reported to see issues in cases where update was necessary | ||||
* | Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵ | Renato Botelho | 2015-12-15 | 2 | -8/+0 |
| | | | | was the reason they were added, it was never finished and it's not being used | ||||
* | Only ask Proceed with upgrade question once | Phil Davis | 2015-12-11 | 1 | -1/+5 |
| | | | | | | | | | | | On nanoBSD there is a "Proceed with upgrade?" question warning about the duplicate slice. After answering "y" to that, the system does the duplicate slice, which takes some minutes. Then it asks again "Proceed with upgrade?" after displaying all the packages it will install. That is a bit annoying at the console - I answer "y" and go off to make a cup of tea, only to come back and find that it is waiting asking again. On nanoBSD a reboot is known to be required anyway, because even if it is some little package that gets upgraded, and not the core OS, the partition is always switched. So we can say that in the first warning and then skip asking "Proceed with upgrade?" a second time. What do you think? Should it ask a 2nd time after displaying the packages to be installed? Or is it OK to skip that confirmation prompt? Also, I moved the call to setup_nanobsd_env inside the "if nanobsd" - it worked like it was because setup_nanobsd_env returns without doing anything if the system is not nanobsd, but it just looked odd and there seems no point calling it when not nanobsd. | ||||
* | Fix #5598 - Nanobsd upgrade fails on GUI | Renato Botelho | 2015-12-10 | 1 | -4/+4 |
| | | | | | | When -p is used on nanobsd, progres socket must be created on secondary partition (chroot_dir) otherwise pkg, that runs with -c chroot_dir, will not be able to find UNIX socket to connect and send events | ||||
* | Track nc PID and kill it on _exit() | Renato Botelho | 2015-12-10 | 1 | -0/+9 |
| | |||||
* | pfSense-upgrade script text | Phil Davis | 2015-12-08 | 1 | -3/+3 |
| | | | Just a few extra words to put in this text, while I am reading it and waiting for the upgrade to complete. | ||||
* | Remove extra ) | Renato Botelho | 2015-11-27 | 1 | -1/+1 |
| | |||||
* | Implement -n (dry-run) option in pfSense-upgrade | Renato Botelho | 2015-11-27 | 1 | -1/+11 |
| | |||||
* | Use _exec() to call gitsync | Renato Botelho | 2015-11-24 | 1 | -2/+3 |
| | |||||
* | Teach pfSense-upgrade to run gitsync after upgrade | Renato Botelho | 2015-11-23 | 1 | -0/+12 |
| | |||||
* | Define user-agent on pfSense-upgrade | Renato Botelho | 2015-11-23 | 1 | -0/+9 |
| | |||||
* | Duplicate slice before upgrade, fixes #5483 | Renato Botelho | 2015-11-19 | 1 | -25/+36 |
| | |||||
* | Add a workaround on pfSense-upgrade to prevent breaking strongswan port due ↵ | Renato Botelho | 2015-11-16 | 1 | -0/+18 |
| | | | | to the symlinks we create | ||||
* | Improve language | Renato Botelho | 2015-11-13 | 1 | -1/+1 |
| | |||||
* | Fix copyright year | Renato Botelho | 2015-11-13 | 1 | -1/+1 |
| | |||||
* | Improve language | Renato Botelho | 2015-11-13 | 1 | -1/+1 |
| | |||||
* | Fix spell issue spotted by Jim | Renato Botelho | 2015-11-13 | 1 | -1/+1 |
| | |||||
* | Add a new option to force upgrade script to don't reboot | Renato Botelho | 2015-11-13 | 1 | -13/+18 |
| | |||||
* | Wait 10 seconds before reboot, also notify admin | Renato Botelho | 2015-11-13 | 1 | -5/+12 |
| | |||||
* | Do not consider only meta package, but also other pfSense main packages, ↵ | Renato Botelho | 2015-11-05 | 1 | -4/+17 |
| | | | | also change exit code from -1 to 2 | ||||
* | Add a new option to pfSense-upgrade, -c, it'll return 0 if system firmware ↵ | Renato Botelho | 2015-11-05 | 1 | -1/+30 |
| | | | | is up2date or -1 if there are updates available | ||||
* | Fix case wildcard of package names for reinstallall | Phil Davis | 2015-10-24 | 1 | -1/+1 |
| | | | | Introduced by https://github.com/pfsense/pfsense/commit/e3b43e4bfe5a3e69028c1ab7e0e4a632ff5ee499 None of the packages were being matched here, none of them would be reinstalled. A "reinstallall" would complete very quickly with "Success" message but actually do nothing. | ||||
* | Ignore kernel-debug package when looking for main kernel package | Renato Botelho | 2015-10-23 | 1 | -1/+1 |
| | |||||
* | Make it possible to _exec to get $_cmd exit code instead of tee one | Renato Botelho | 2015-10-23 | 1 | -3/+10 |
| | |||||
* | Use _exit() | Renato Botelho | 2015-10-23 | 1 | -1/+1 |
| | |||||
* | Fix #5338: Add -4 and -6 options to pfSense-upgrade to select IP protocol ↵ | Renato Botelho | 2015-10-23 | 1 | -2/+26 |
| | | | | version | ||||
* | Use already defined pkg_prefix variable | Renato Botelho | 2015-10-23 | 1 | -1/+1 |
| | |||||
* | Use _echo, not echo | Stephen Beaver | 2015-10-19 | 1 | -2/+1 |
| | |||||
* | Fixed #5291 - Reinstalling pfSense-pkg-openvpn-client-export | Stephen Beaver | 2015-10-16 | 1 | -2/+6 |
| |