Commit graph

285575 commits

Author SHA1 Message Date
Samuel Dionne-Riel
ba666011a6 make-disk-image: Account for reserved disk space
This is a bit of a thorny issue. See, the actual `diskSize` variable is
for the *total* disk size, not for the filesystem!

The automatic numbers are meant to compute the *filesystem* required
space. So we have to add any other reserved space!

We have different requirements for reserved space. E.g. there could be
none (when it's actually a filesystem image). There could also be 1MiB
for alignment for an MBR image, legacy+gpt needs 2MiB, then GPT with an
ESP ("bootSize") needs to take the boot partition and GPT size into
account too!

Though luckily(?) for this latter situation we can cheat! As noted in the
change, `bootSize` is NOT the boot partition size. It is actually the
offset where the target filesystem starts.
2021-04-24 14:49:05 -04:00
Samuel Dionne-Riel
9b18a78c73 make-disk-image: Account for the ext4 reserved space
Reserved space includes:

 - inodes space in use (2 blocks per)
 - about 5.2% of the space

The 5.2% reserved space was computed empirically when working on a
previous EXT4 image builder. It seems to stabilize around 5% even for
much larger filesystems.
2021-04-24 14:49:04 -04:00
Samuel Dionne-Riel
05c13a03e2 make-disk-image: Get proper size for automatic size
On some filesystems, `du` without `--apparent-size` will not give the
actual size for a file. Using `--apparent-size` will give us the actual
file size.

Though, this is not actually correct still. 1000 × 1 bytes is not 1000
bytes. It is 1000 × ceil(filesize/blockSize)*blockSize.

So instead of adding up the actual file sizes. We are adding up the
block sizes.

Note that this also changes the builder to work with *bytes*, rather
than with any other units. Doing maths on bytes is less likely to go
awry than doing it on other units.
2021-04-24 14:49:04 -04:00
Jonathan Ringer
ad521d005b
buck: use jdk8 2021-04-24 11:25:35 -07:00
Martin Weinelt
0ca4f6b739
Merge pull request #120550 from fabaff/smhi 2021-04-24 20:22:21 +02:00
Vincenzo Mantova
2cc7846adf pdftk: mark unbroken on darwin 2021-04-24 19:02:37 +01:00
Guillaume Girol
1c62c0f370
Merge pull request #120537 from symphorien/nagios-restart
nixos/nagios: use the correct option to restart on config change
2021-04-24 17:58:19 +00:00
Thomas Gerbet
bdb7248944 binwalk: 2.2.0 -> 2.3.1
Releases notes:
https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.1
https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.0
2021-04-24 10:49:06 -07:00
Lassulus
118485230c
Merge pull request #119725 from helsinki-systems/feat/flexoptix-app
flexoptix-app: Init at 5.9.0
2021-04-24 19:34:18 +02:00
Domen Kožar
4b6cd9daa8
Merge pull request #120551 from NixOS/codeowners-workflows
Add NixOS/Security as a reviewer for .github/workflows
2021-04-24 18:28:34 +01:00
Martin Weinelt
324f9afad9
Merge pull request #120545 from jonringer/bump-steam 2021-04-24 19:25:58 +02:00
Graham Christensen
d6ed686eb2
Add NixOS/Security as a reviewer for .github/workflows 2021-04-24 13:21:42 -04:00
Izorkin
47d3e955fc nixos/mastodon/sandbox: add @privileged and @raw-io to SystemCallFilter 2021-04-24 19:12:10 +02:00
Graham Christensen
9d95ba3dd6 actions: add some permission restrictions 2021-04-24 13:07:57 -04:00
Frank Doepper
0b2840ba4e nntp: 6.3.0 -> 6.4.0 2021-04-24 19:00:38 +02:00
Fabian Affolter
e1054f07f1 home-assistant: enable smhi tests 2021-04-24 18:54:51 +02:00
Fabian Affolter
cee055528d home-assistant: update component-packages 2021-04-24 18:54:23 +02:00
Fabian Affolter
019cf935eb python3Packages.smhi-pkg: init at 1.0.14 2021-04-24 18:51:26 +02:00
Jonathan Ringer
69a4de6251
steamPackages.steam: use stable archive to avoid 404s 2021-04-24 09:48:44 -07:00
Jonathan Ringer
d79d927cca
steamPackages.steam: 1.0.0.69 -> 1.0.0.70 2021-04-24 09:37:38 -07:00
Symphorien Gibol
b7536ac80f dovecot_fts_xapian: 1.4.7 -> 1.4.9 2021-04-24 18:26:44 +02:00
Kira Bruneau
f3a2bf7109 git-review: 2.0.0 -> 2.1.0 2021-04-24 12:24:19 -04:00
schnusch
f96a6606d6 remote-touchpad: init at 1.0.1 2021-04-24 18:18:10 +02:00
schnusch
7893552afa esbuild: 0.11.13 -> 0.11.14 2021-04-24 18:12:46 +02:00
Matt McHenry
1e67ddbf60 eclipses: 2020-12 -> 2021-03
* remove the jdt plugin, as it's not longer packaged separately on the
  eclipse download site :-(
  https://www.eclipse.org/forums/index.php/t/1107570/

* add eclipse-jee as a second option for those who need jdt

* remove eclipses.rust

    this build was present at:

    https://www.eclipse.org/downloads/packages/release/2020-12/r
    https://www.eclipse.org/downloads/packages/release/2021-03/m2

    but is not present at:

    https://www.eclipse.org/downloads/packages/release/2021-03/m3
    https://www.eclipse.org/downloads/packages/release/2021-03/rc1
    https://www.eclipse.org/downloads/packages/release/2021-03/r

    https://projects.eclipse.org/projects/tools.corrosion seems to
    point users to install as a plugin rather than a top-level eclipse
    package.
2021-04-24 12:02:30 -04:00
Martin Weinelt
b7e08de1e9
Merge pull request #119181 from SFrijters/wine-6.6 2021-04-24 17:59:07 +02:00
Martin Weinelt
192ae8f46a
Merge pull request #120474 from mweinelt/handlr
handlr: 0.5.0 -> 0.6.1
2021-04-24 17:54:08 +02:00
James Landrein
5577ad5849 kubeconform: 0.4.6 -> 0.4.7 2021-04-24 17:41:31 +02:00
Martin Weinelt
9f48549762
Merge pull request #120532 from fabaff/homeconnect 2021-04-24 17:34:15 +02:00
John Ericson
d243aae0f3
Merge pull request #120470 from alyssais/doubles
lib.systems.doubles.netbsd: expand
2021-04-24 11:22:58 -04:00
Michele Guerini Rocco
a67aad9c01
Merge pull request #120522 from rnhmjoj/mkvtoolnix
mkvtoolnix: 55.0.0 -> 56.0.0
2021-04-24 17:16:32 +02:00
Symphorien Gibol
ddf567cd5a nixos/nagios: use the correct option to restart on config change
X-ReloadIfChanged is incorrect, apparently https://github.com/NixOS/nixpkgs/pull/120324#discussion_r619472321
We restart instead of reloading because nagios unit file has no
ExecReload.
2021-04-24 17:12:51 +02:00
Mario Rodas
53a3fc2856 ocamlPackages.sedlex_2: 2.2 -> 2.3 2021-04-24 17:04:32 +02:00
Fabian Affolter
766e698739 home-assistant: enable home_connect tests 2021-04-24 16:54:13 +02:00
Fabian Affolter
2400327661 home-assistant: update component-packages 2021-04-24 16:54:13 +02:00
Fabian Affolter
c6e9a834b7 python3Packages.homeconnect: init at 0.6.3 2021-04-24 16:54:13 +02:00
Jan Tojnar
ac0319febf
Merge pull request #120231 from bobby285271/master
doc: Convert builders/images/* to markdown
2021-04-24 16:36:26 +02:00
Martin Weinelt
abd57b544e
Merge pull request #120276 from mweinelt/python/some-libs 2021-04-24 13:38:42 +02:00
Yusuf Bera Ertan
c1db991404
pythonPackages.hydrus: 434 -> 436 2021-04-24 14:38:26 +03:00
Vincent Cui
7b0b4c048a vimPlugins.lazygit-nvim: init at 2021-03-25 2021-04-24 13:33:34 +02:00
"Vincent Cui"
12ece33098 vimPlugins.vim-helm: init at 2020-01-02 2021-04-24 13:33:34 +02:00
"Vincent Cui"
de69947e83 vimPlugins.vim-xtabline: init at 2021-01-31 2021-04-24 13:33:34 +02:00
Vincent Cui
d1ad812ec1 vimPlugins.suda-vim: init at 2021-02-20 2021-04-24 13:33:33 +02:00
"Vincent Cui"
16f6bc4f01 vimPlugins.wildfire-vim: init at 2014-11-16 2021-04-24 13:33:33 +02:00
Vincent Cui
888acb76a7 vimPlugins.LeaderF: init at 2021-04-02 2021-04-24 13:33:33 +02:00
"Vincent Cui"
fff666d4f7 vimPlugins: resolve github repository redirects 2021-04-24 13:33:33 +02:00
Vincent Cui
3f151a5617 vimPlugins: update 2021-04-24 13:33:33 +02:00
Thomas Gerbet
8495758f16 zookeeper: 3.6.2 -> 3.6.3
Fixes CVE-2020-25649, CVE-2021-21295, CVE-2021-28165 and CVE-2021-21409.

https://zookeeper.apache.org/doc/r3.6.3/releasenotes.html
2021-04-24 13:31:43 +02:00
José Romildo Malaquias
68e02d1757
Merge pull request #118367 from romildo/upd.mate_
mate: update packages
2021-04-24 08:03:19 -03:00
Michael Weiss
eb335f697e
chromium: Warn about and cleanup old chromiumVersionAtLeast conditionals 2021-04-24 12:47:12 +02:00