Commit graph

38 commits

Author SHA1 Message Date
Markus Partheymüller 7cf3be168e ipxe: Allow to specify additional options
Overriding the `enabledOptions` attribute only works if `configurePhase`
is also overridden, which makes it a bit inconvenient.
2022-08-25 15:41:26 +02:00
Daniel Fullmer 0a44f54695 ipxe: fix cross-compilation
Tested x86_64 -> arm64 cross compilation, and testing booting via ipxe
on an arm64 device.
2022-07-21 18:37:08 -07:00
Emery Hemingway 25e4e7af03 ipxe: do not call syslinux on aarch64 2022-05-20 12:02:48 -05:00
Alyssa Ross 7d691eadc3
ipxe: 1.21.1 -> unstable-2022-04-06
iPXE does not make stable releases[1].  The tag we were using was an
anomoly[2], and is from 2020.

The geniso script has been replaced with a generic genfsimg script
that works differently.  There are no longer variables we can set to
tell it where to find isolinux.bin or ldlinux.c32, so we have to patch
the script.  It'll look in the same place for both files.

The --preserve=mode modification doesn't seem to be necessary any more
— when it was introduced in 4d7bea7e5e ("ipxe: fix ISO build"), it
was required to make a working ISO with an embedded script.  But my
ISO with an embedded script now works fine without that change.

[1]: https://github.com/ipxe/ipxe/discussions/544
[2]: https://github.com/ipxe/ipxe/discussions/544#discussioncomment-1894506
2022-04-09 08:55:17 +00:00
Ryan Burns 2175b157ac treewide: refactor isi686 && isx86_64 -> isx86 2021-11-20 17:50:41 -08:00
Arthur Gautier 3a7e5f6c25 ipxe: allow to pass options with values
For example BANNER_TIMEOUT can be overriden like:
```
ipxe.overrideArgs(old: {
    enableOptions = old.enableOptions ++ [ "BANNER_TIMEOUT 100" ];
});
```

Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-09-13 08:47:00 +02:00
misuzu 2668c75886 ipxe: fix installPhase and license 2021-07-14 12:47:12 +03:00
ajs124 a14985cd28 ipxe: allow building on aarch64 2021-07-14 12:47:11 +03:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Emery Hemingway c9839d6129 ipxe: 1.20.1 -> 1.21.1 2021-01-04 12:28:03 +01:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Silvan Mosberger 80a2740991
Merge pull request #78265 from Synthetica9/https-homepages
treewide: fix redirected urls
2020-01-27 15:00:53 +01:00
Rakesh Gupta f82528a92b updated version to 1.20.1 2020-01-22 17:46:42 +01:00
Patrick Hilhorst 593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
Nikolay Amiantov 6152007747 ipxe: add imgtrust and ping
imgtrust is needed to run netboot.xyz scripts.
ping is useful for testing network settings.
Also add HTTP option for clarity (it's already being built).
2019-07-15 19:33:15 +03:00
Nikolay Amiantov 9e12db91de ipxe: support renaming targets and add several
This allows to build several targets with conflicting names.
UEFI version of USB image is now built, and so is option ROM.
2019-07-15 19:32:41 +03:00
Michael Bishop c0b2c69736 ipxe: fix build by not generating 64bit efi on 32bit systems 2019-07-09 07:54:30 -03:00
edef ff4db30b7d ipxe: enable UEFI support 2019-05-05 11:52:34 +00:00
volth f6d489808e
ipxe: 20190310 -> 20190318
it adds support for I219-V
2019-04-15 19:47:24 +00:00
volth 7530ce9490
ipxe: fix url
the server does not response to git://
2019-04-15 18:22:12 +00:00
Adam Finn Tulinius d835df0cbf ipxe: 20180220 -> 20190310 (#57582) 2019-03-15 18:27:39 +01:00
edef 8ae0c8a64f ipxe: 20170922 -> 20180220 2018-02-27 15:27:41 -05:00
edef 4d7bea7e5e ipxe: fix ISO build
Without this change, it doesn't seem to properly generate ISOs with
embedded scripts.
2018-02-26 17:52:38 -05:00
Linus Heckemann dbdb2f0eed ipxe: enable parallel building; allow embed script 2018-02-13 15:16:48 +00:00
Pascal Bach ece9245a4d ipxe: 20160831 -> 20170922 2017-09-28 01:08:58 +02:00
michael bishop 153ff5a69a
ipxe: allow usage of preConfigure again, and add a simpler way to extend the options 2016-10-18 02:18:52 -03:00
Franz Pletz a6d4ea4c2c
treewide: remove executable flags from .nix files 2016-09-27 22:15:00 +02:00
Pascal Bach 888551887b ipxe: 20141124 -> 20160831 (#18938)
HTTPS support is enabled
2016-09-25 04:35:46 +02:00
Robin Gloster 8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Tuomas Tynkkynen bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Robin Gloster f60c9df0ba Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-28 15:16:29 +00:00
Joachim Fasting 8dfb8d06f0 ipxe: fix gcc5 build
gcc5 enables additional warnings, causing the build to fail with
-Werror.  The build could be fixed by specifically disabling errors
for `discarded-array-qualifiers` and `logical-not-parentheses` warnings,
but simply passing -Wno-error is more future proof.

See https://hydra.nixos.org/build/33274006/nixlog/1/raw
2016-03-19 19:52:47 +01:00
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster 828b408f7f ipxe: turn off pic/stackprotector hardening 2016-02-22 00:44:58 +00:00
Emery Hemingway 2b6dcdfcd0 Rename 'emery' maintainer handle to 'ehmry', fixes #11493
Communication happens on Github so names should be consistent.
2015-12-05 23:06:20 +01:00
michael bishop 9f34689658 ipxe: add undionly.kpxe so the output
its needed to chainload iPXE from normal PXE
2015-11-05 10:10:36 -04:00
Vladimír Čunát 3dfd87d7af fixup "git-export" directory names
All tested to build.
For freetalk the hash change seems unrelated to fetchgit changes.

FIXME: it might be suitable to adapt nix-prefetch-git.
2015-01-13 17:46:09 +01:00
Emery Hemingway 3faacca044 nixpkgs: iPXE initial package 2014-12-04 11:03:56 +01:00