| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This seems to now be done by gpg since version 2.2.6[0], so remove this
hack.
[0] https://dev.gnupg.org/T3825
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
.. same directory as the other hook.
|
|
|
|
| |
.. but only on systems that have a btrfs filesystem mounted on `/`.
|
|
|
|
|
|
|
|
|
| |
Before, base-system.install wasn't actually run, since it wasn't
specified in `install=` in the PKGBUILD anywhere. Also run it both in
the post-upgrade and post-install steps.
`--global` was removed since it caused errors, it's unclear what exactly
it does in the first place, but other official PKGBUILDs did it this way..
|
|
|
|
|
|
| |
ConnectTimeout merely specifies the TCP timeout, what we really want is
ServerAliceInterval, which makes the client send a null packet every X
seconds.
|
|
|
|
|
|
|
|
| |
This avoids errors when date is unavailable, like the one below:
Error: error: invalid package file
Error: PKGBUILD: line 5: date: command not found
Error: /startdir/PKGBUILD is not a valid PKGBUILD
|
|
|
|
|
|
|
|
|
| |
Previously, a archive would get the timestamp of the time it was
uploaded, instead of the time when the snapshot was created.
This is problematic, since archives are pruned by this timestamp,
meaning if multiple archives are uploaded together most of them would be
pruned immediately after.
|
|
|
|
|
|
|
| |
Since arch-system has no upstream versions, and I'm too lazy to change
pkgver manually, just expand the current date.
This is slightly odd, maybe even a bad idea, but worth a try.
|
| |
|
|
|
|
|
| |
This makes systemd-sysctl.hook detect the change and apply the sysctl
settings accordingly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Instead of trying to execute borg, which would give us a false positive
if borg itself isn't working on the remote, just connect to the server
without executing a command.
We check for 255 because `man 1 ssh` states the following:
ssh exits with the exit status of the remote command or with 255 if
an error occured.
|
|
|
|
|
|
| |
Linux 4.16 reworked the guc/huc parameters for i915 in [0].
[0] https://github.com/torvalds/linux/commit/121981fafe699d9f398a3c717912ef4eae6719b1
|
| |
|
|
|
|
|
|
|
|
| |
Since borg-prune only keeps the last snapshot of each day with
--keep-daily, it's possible that a file that was accidentally deleted is
only kept for 24h (if the machine is running) before it's purged from
backups. Increase to 72h to give the user a better chance of noticing
this in time.
|
| |
|
| |
|
|
|
|
|
|
| |
Networkmanager isn't really all that reliable, and we actually don't
want to depend on it anyway. So trying to connect via ssh is the better
thing to do.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
enable_fbc=1: already enabled by default
enable_rc6: already enabled by default
modeset: keep it at -1, kernel will enable it by default
|
|
|
|
|
|
|
|
|
| |
This implements fully automated, hourly backups of my /home via
borgbackup, btrfs and systemd timers.
Note that `setup_borgbackup`, a related function that is part of my
dotfiles, is needed to setup backups for the first time, as well as a
call to `borg init` with the proper environment variables.
|
| |
|
| |
|
|
|