OSDN Git Service

alterlinux/alterlinux.git
4 years agoAdding nvme-cli to package list
David Runge [Tue, 23 Jun 2020 19:46:16 +0000 (21:46 +0200)]
Adding nvme-cli to package list

configs/releng/packages.x86_64:
Adding nvme-cli to the list of packages for working with NVME drives in
a live environment (as discussed in FS#63769).

Closes #20

4 years agoRemoving wget in favor of curl
David Runge [Tue, 23 Jun 2020 19:32:03 +0000 (21:32 +0200)]
Removing wget in favor of curl

configs/releng/airootfs/root/.automated_script.sh:
Replacing wget with curl for the use-case of downloading a
pre-specified remote startup script (changing flags where needed).

configs/releng/packages.x86_64:
Removing wget from the list of installed packages, as
.automated_script.sh was the only reason for it being installed.

Closes #16

4 years agoNumerical prefix for systemd-networkd configuration
David Runge [Tue, 23 Jun 2020 19:10:17 +0000 (21:10 +0200)]
Numerical prefix for systemd-networkd configuration

Adding a numerical prefix ('20-') to the ethernet.network and
wireless.network configuration files for systemd-networkd.
This way overriding them can become more predictable e.g. by providing
files with a '30-' prefix.

Closes #13

4 years agoRemoving custom UEFI shell boot loader configs
David Runge [Tue, 23 Jun 2020 18:44:29 +0000 (20:44 +0200)]
Removing custom UEFI shell boot loader configs

configs/releng/build.sh:
Copying the edk2-shell based Shell_Full.efi to the root of the iso/ efi
image as 'shellx64.efi' is automatically picked up by certain hardware
and by systemd-boot.
This makes all custom UEFI shell configuration obsolete.

configs/releng/efiboot/loader/entries/uefi-shell-*.conf:
Removing obsolete custom UEFI shell boot loader configuration.

Closes #14

4 years agoRemoving efitools
David Runge [Tue, 23 Jun 2020 18:08:57 +0000 (20:08 +0200)]
Removing efitools

configs/releng/build.sh:
Removing the efitools based PreLoader.efi and HashTool.efi, as they are
dead weight due to not allowing secure boot (FS#59487).
Future secure boot functionality (most probably based on shim) is being
discussed in FS#53864.

Closes #17

4 years agoRemoving dist target v44
David Runge [Sun, 31 May 2020 21:05:52 +0000 (23:05 +0200)]
Removing dist target

Makefile:
Removing the dist target. It requires to increment a number on each
release.
This workflow can be entirely circumvented by signed commit tags and
using those for packaging.

4 years agoReplacing dhcpcd with systemd-networkd and systemd-resolved
David Runge [Sat, 30 May 2020 18:58:48 +0000 (20:58 +0200)]
Replacing dhcpcd with systemd-networkd and systemd-resolved

configs/releng/airootfs/etc/udev/rules.d/81-dhcpcd.rules:
Removing the udev rule for starting dhcpcd@.service on interfaces of the
form eth* and en*.

configs/releng/airootfs/etc/systemd/network/{ethernet,wireless}.network:
Adding default DHCP configurations for en*, eth*, wlp* and wlan*
interfaces.

configs/releng/airootfs/etc/resolv.conf:
Adding a symlink from /run/systemd/resolve/stub-resolv.conf to
/etc/resolv.conf (in airootfs).

configs/releng/airootfs/root/customize_airootfs.sh:
Adding systemd-networkd and systemd-resolved to the list of services
that are being enabled during airootfs customization.

4 years agoUnsetting the root password
David Runge [Sat, 30 May 2020 22:27:15 +0000 (00:27 +0200)]
Unsetting the root password

Due to changes in the filesystem package [1] the current /etc/passwd
does not allow login without an empty root password anymore.
This becomes apparent, when switching to another TTY than the one
autologin is activated for.

By running passwd -d root we unset the password.
In the future this should go to a custom /etc/passwd file.

[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/filesystem&id=0320c909f3867d47576083e853543bab1705185b

4 years agoFixing default bootloader menu selection.
David Runge [Sat, 23 May 2020 15:13:36 +0000 (17:13 +0200)]
Fixing default bootloader menu selection.

configs/releng/efiboot/loader/loader.conf:
The 'default' bootloader selection of systemd-boot is based on a glob
pattern. The previous pattern was not sufficient to select anything,
which is why it is now made explicit (pointing to archiso-x86_64.conf).

4 years agoSimplifying regex for script download
David Runge [Sat, 23 May 2020 14:19:22 +0000 (16:19 +0200)]
Simplifying regex for script download

configs/releng/airootfs/root/.automated_script.sh:
Using only one regex to match http://, https:// or ftp:// endpoints.

4 years agoUsing edk2-shell for UEFI shell
David Runge [Sat, 23 May 2020 11:32:28 +0000 (13:32 +0200)]
Using edk2-shell for UEFI shell

configs/releng/build.sh:
Instead of downloading UDK2018 based edk2 UEFI shell, use the Shell
binaries from the edk2-shell package.
This effectively makes the use of EFI shell v1 obsolete.

configs/releng/efiboot/loader/entries/uefi-shell-v*:
Renaming UEFI shell entries to match the packaged edk2-shell based UEFI
shell binaries.

configs/releng/build.sh:
Renaming the systemd-boot bootloader entries for UEFI shell (normal and
full version) to reflect their file names, which are derived from the
binary names in the edk2-shell package.
Copying the edk2-shell based UEFI shell binaries for normal efiboot and
.iso based "el-torito" efiboot mode.

docs/README.build:
Adding edk2-shell to the requirements in the documentation, as the
package is now used to provide UEFI shell.

4 years agoRenaming refind-efi to refind
David Runge [Sat, 30 May 2020 16:17:15 +0000 (18:17 +0200)]
Renaming refind-efi to refind

configs/releng/packages.x86_64:
As the refind-efi package has been renamed to refind, the package
required for the releng image needs to be renamed as well.

4 years agoRevert "Renaming refind package"
David Runge [Sat, 30 May 2020 16:02:18 +0000 (18:02 +0200)]
Revert "Renaming refind package"

This reverts commit c16612401e2db36ae5437df2c77999d45f47d39f.

4 years agoRenaming refind package
David Runge [Thu, 23 Apr 2020 06:02:31 +0000 (08:02 +0200)]
Renaming refind package

configs/releng/packages.x86_64:
refind-efi has been renamed to refind

4 years agoPrepare release v43
Pierre Schmitz [Wed, 16 Oct 2019 11:10:09 +0000 (13:10 +0200)]
Prepare release

4 years agoFS#64049: Re-add missing packages reflecting the base group to package transition
Pierre Schmitz [Wed, 16 Oct 2019 11:01:44 +0000 (13:01 +0200)]
FS#64049: Re-add missing packages reflecting the base group to package transition

4 years agoadd zstd in supported squashfs compression list
Christian Hesse [Mon, 2 Sep 2019 11:25:37 +0000 (13:25 +0200)]
add zstd in supported squashfs compression list

Signed-off-by: Christian Hesse <mail@eworm.de>
5 years agoprepare release v42
Gerardo Exequiel Pozzi [Wed, 1 May 2019 21:38:41 +0000 (18:38 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
5 years ago[configs/releng] Re-add wpa_supplicant
Gerardo Exequiel Pozzi [Wed, 1 May 2019 21:35:17 +0000 (18:35 -0300)]
[configs/releng] Re-add wpa_supplicant

5 years agoprepare release v41
Gerardo Exequiel Pozzi [Fri, 26 Apr 2019 14:50:19 +0000 (11:50 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
5 years agoupdate download url for Shell.efi
Christian Hesse [Fri, 26 Apr 2019 13:50:36 +0000 (15:50 +0200)]
update download url for Shell.efi

Signed-off-by: Christian Hesse <mail@eworm.de>
5 years ago[configs/releng] Add iwd
Gerardo Exequiel Pozzi [Sat, 6 Apr 2019 03:29:57 +0000 (00:29 -0300)]
[configs/releng] Add iwd

Requested at FS#62087

5 years agoUpdate packages.x86_64
martindamianfernandez [Fri, 5 Apr 2019 21:01:34 +0000 (18:01 -0300)]
Update packages.x86_64

wpa_actiond

404 file no found

5 years agomake sure the root filesystem is owned by root
Christian Hesse [Tue, 8 Jan 2019 11:05:54 +0000 (12:05 +0100)]
make sure the root filesystem is owned by root

Signed-off-by: Christian Hesse <mail@eworm.de>
5 years agoprepare release v40
Gerardo Exequiel Pozzi [Mon, 24 Dec 2018 03:30:05 +0000 (00:30 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
5 years agoupdate download url for Shell_Full.efi
Christian Hesse [Wed, 12 Dec 2018 13:25:06 +0000 (14:25 +0100)]
update download url for Shell_Full.efi

https://bugzilla.tianocore.org/show_bug.cgi?id=1108
Signed-off-by: Christian Hesse <mail@eworm.de>
6 years ago[configs/releng] Update amd-ucode license path v39
Gerardo Exequiel Pozzi [Sat, 25 Aug 2018 16:45:05 +0000 (13:45 -0300)]
[configs/releng] Update amd-ucode license path

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agouse package amd-ucode for amd microcode
Christian Hesse [Fri, 24 Aug 2018 07:29:47 +0000 (09:29 +0200)]
use package amd-ucode for amd microcode

The package linux-firmware has a new split package amd-ucode. Do not
build the image manually but use the package.

Signed-off-by: Christian Hesse <mail@eworm.de>
6 years agoprepare release
Gerardo Exequiel Pozzi [Wed, 22 Aug 2018 03:24:48 +0000 (00:24 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years ago[configs/releng] Make and use amd_ucode.bin for initrd.
Gerardo Exequiel Pozzi [Sat, 18 Aug 2018 20:14:22 +0000 (17:14 -0300)]
[configs/releng] Make and use amd_ucode.bin for initrd.

Requested at FS#59694

6 years agoprepare release v38
Gerardo Exequiel Pozzi [Wed, 1 Aug 2018 03:57:10 +0000 (00:57 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agomake detection of kernel modules dir more robust
Eli Schwartz via arch-releng [Tue, 31 Jul 2018 23:27:11 +0000 (19:27 -0400)]
make detection of kernel modules dir more robust

extract `uname -r` from the contents of vmlinuz-linux rather than make
assumptions about the kernel EXTRAVERSION.

This is trivially customizable by changing the chosen kernel image.

Fixes FS#59496

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
6 years agoprepare release v37
Gerardo Exequiel Pozzi [Thu, 26 Jul 2018 20:17:08 +0000 (17:17 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agogenerate pkglist with query (not sync) operation
Christian Hesse [Fri, 6 Jul 2018 08:15:36 +0000 (10:15 +0200)]
generate pkglist with query (not sync) operation

Using the sync operation with list option fails with --sysroot when
signed database files are around. Instead use the query operation, which
uses the local databases of installed pakages only.

The only downside is that we do no longer record the originating
repository.

Signed-off-by: Christian Hesse <mail@eworm.de>
6 years ago[configs/releng] add wireless-regdb to airootfs
Gerardo Exequiel Pozzi [Thu, 26 Jul 2018 20:09:45 +0000 (17:09 -0300)]
[configs/releng] add wireless-regdb to airootfs

Requested at FS#59434

6 years agoRemove cow file early for non-persistent systems v36
Christian Hesse [Fri, 29 Jun 2018 09:16:19 +0000 (11:16 +0200)]
Remove cow file early for non-persistent systems

The kernel has an open file handle after setting up the mapping. We can
remove it early to make sure it is gone on shutdown.

This helps to keep the cow_device clean for non-persistent systems where
cow_directory contains a version specific string.

Signed-off-by: Christian Hesse <mail@eworm.de>
6 years ago[releng] Copy custom pacman.conf to airootfs
Gerardo Exequiel Pozzi [Thu, 28 Jun 2018 03:40:13 +0000 (00:40 -0300)]
[releng] Copy custom pacman.conf to airootfs

6 years ago[releng] upgrade custom pacman.conf
Gerardo Exequiel Pozzi [Thu, 28 Jun 2018 03:03:18 +0000 (00:03 -0300)]
[releng] upgrade custom pacman.conf

6 years ago[archiso] Drop --config when using --sysroot
Gerardo Exequiel Pozzi [Mon, 25 Jun 2018 16:28:51 +0000 (13:28 -0300)]
[archiso] Drop --config when using --sysroot

https://lists.archlinux.org/pipermail/arch-releng/2018-June/003834.html

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years ago[archiso] Use --sysroot when list installed packages.
Gerardo Exequiel Pozzi [Sun, 24 Jun 2018 15:48:52 +0000 (12:48 -0300)]
[archiso] Use --sysroot when list installed packages.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years ago[releng] support for -P iso_publisher and -A iso_application in build.sh
Gerardo Exequiel Pozzi [Sun, 24 Jun 2018 01:38:34 +0000 (22:38 -0300)]
[releng] support for -P iso_publisher and -A iso_application in build.sh

Implement FS#54126

6 years agoprepare release
Gerardo Exequiel Pozzi [Sun, 24 Jun 2018 01:26:06 +0000 (22:26 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years ago[releng] bye pcmcia initcpio
Gerardo Exequiel Pozzi [Sun, 24 Jun 2018 01:24:11 +0000 (22:24 -0300)]
[releng] bye pcmcia initcpio

6 years ago[releng] bye zd1211-firmware
Gerardo Exequiel Pozzi [Sun, 24 Jun 2018 01:22:28 +0000 (22:22 -0300)]
[releng] bye zd1211-firmware

6 years agoprepare release v35
Gerardo Exequiel Pozzi [Sat, 23 Jun 2018 19:58:07 +0000 (16:58 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years ago[releng] Cleanup remain dual-arch stuff
Gerardo Exequiel Pozzi [Sat, 23 Jun 2018 19:26:36 +0000 (16:26 -0300)]
[releng] Cleanup remain dual-arch stuff

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agoEnsure correct umask for scripts
Gerardo Exequiel Pozzi [Sat, 23 Jun 2018 19:09:33 +0000 (16:09 -0300)]
Ensure correct umask for scripts

Fix for FS#58473

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agoDrop the '-d' from pacstrap calls
Sean Enck via arch-releng [Sun, 17 Jun 2018 14:22:09 +0000 (10:22 -0400)]
Drop the '-d' from pacstrap calls

The '-d' in pacstrap is a noop nowadays, keeping it may cause confusion

Signed-off-by: Sean Enck <enckse@gmail.com>
6 years agoRemove speedtouch from packages.both
Li-Yu Yu via arch-releng [Fri, 8 Jun 2018 07:09:00 +0000 (15:09 +0800)]
Remove speedtouch from packages.both

Since 2018-06-05:
speedtouch 1.3.1-6 has been removed from the [extra] repository.
https://www.archlinux.org/packages/extra/x86_64/speedtouch/

Signed-off-by: Li-Yu Yu <afg984@gmail.com>
6 years agoprepare release v34
Gerardo Exequiel Pozzi [Thu, 26 Apr 2018 13:48:32 +0000 (10:48 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agoInstall broadcom-wl to the release ISO
Eli Schwartz via arch-releng [Mon, 16 Apr 2018 00:27:58 +0000 (20:27 -0400)]
Install broadcom-wl to the release ISO

Fixes FS#58239

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
6 years agoconfigs/*: convert to new array-based mkinitcpio vars
Gerardo Exequiel Pozzi [Thu, 2 Nov 2017 23:02:14 +0000 (20:02 -0300)]
configs/*: convert to new array-based mkinitcpio vars

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agoprepare release v33
Gerardo Exequiel Pozzi [Wed, 1 Nov 2017 22:23:15 +0000 (19:23 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
6 years agorfkill is part of util-linux now
Pierre Schmitz [Wed, 1 Nov 2017 08:28:07 +0000 (09:28 +0100)]
rfkill is part of util-linux now

6 years agouse a stronger hashing algorithm
Christian Hesse [Mon, 16 Oct 2017 07:12:50 +0000 (09:12 +0200)]
use a stronger hashing algorithm

Nobody wants to use md5 these days...

Signed-off-by: Christian Hesse <mail@eworm.de>
7 years agoprepare release v32
Gerardo Exequiel Pozzi [Mon, 26 Jun 2017 00:14:25 +0000 (21:14 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years ago[archiso] Add ca-certificates.crt
Gerardo Exequiel Pozzi [Sun, 4 Jun 2017 18:54:12 +0000 (15:54 -0300)]
[archiso] Add ca-certificates.crt

Fix FS#54275

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years agoprepare release v31
Gerardo Exequiel Pozzi [Sat, 25 Mar 2017 05:03:13 +0000 (02:03 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years agoHandle case where ip=dhcp
David Thurstenson [Fri, 10 Mar 2017 20:01:06 +0000 (14:01 -0600)]
Handle case where ip=dhcp

Signed-off-by: David Thurstenson <thurstylark@gmail.com>
7 years agoAdd timeout to ipconfig call
David Thurstenson [Fri, 10 Mar 2017 20:01:05 +0000 (14:01 -0600)]
Add timeout to ipconfig call

Signed-off-by: David Thurstenson <thurstylark@gmail.com>
7 years ago[archiso] Fix docs -dual -> x86_64
Gerardo Exequiel Pozzi [Thu, 2 Mar 2017 15:08:21 +0000 (12:08 -0300)]
[archiso] Fix docs -dual -> x86_64

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years ago[configs/releng] Oops, rename -dual.iso -> -x86_64.iso
Gerardo Exequiel Pozzi [Thu, 2 Mar 2017 02:05:35 +0000 (23:05 -0300)]
[configs/releng] Oops, rename -dual.iso -> -x86_64.iso

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years agoprepare release v30
Gerardo Exequiel Pozzi [Tue, 21 Feb 2017 22:56:02 +0000 (19:56 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years ago[archiso] Update docs
Gerardo Exequiel Pozzi [Sun, 12 Feb 2017 22:16:15 +0000 (19:16 -0300)]
[archiso] Update docs

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years ago[configs/releng] Remove i686 syslinux files
Gerardo Exequiel Pozzi [Sun, 12 Feb 2017 21:54:43 +0000 (18:54 -0300)]
[configs/releng] Remove i686 syslinux files

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years ago[configs/releng] Do not build i686
Gerardo Exequiel Pozzi [Mon, 23 Jan 2017 17:05:25 +0000 (14:05 -0300)]
[configs/releng] Do not build i686

Only avoid build i686. The syslinux config files for i686 are still
present. This implies that a i686 entry will be present but not working.
In another patch, this can be removed if desired.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years agoprepare release v29
Gerardo Exequiel Pozzi [Wed, 21 Dec 2016 22:18:29 +0000 (19:18 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years ago[configs/releng] Increse efiboot.img again
Gerardo Exequiel Pozzi [Wed, 7 Dec 2016 22:21:16 +0000 (19:21 -0300)]
[configs/releng] Increse efiboot.img again

We reached the upper limit again [#1], increasing sufficiently
to do not touch again in long time.

[#1] 526be1579e515beb7bfb04b154b23450eb6589cb

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years agoprepare release v28
Gerardo Exequiel Pozzi [Mon, 24 Oct 2016 22:37:32 +0000 (19:37 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years ago[configs/releng] Add exfat-utils to live-environment
Gerardo Exequiel Pozzi [Sun, 23 Oct 2016 17:45:30 +0000 (14:45 -0300)]
[configs/releng] Add exfat-utils to live-environment

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
7 years agopxe-common: not only search, but also domain entry in resolv.conf
Christian Hesse [Thu, 29 Sep 2016 15:58:19 +0000 (17:58 +0200)]
pxe-common: not only search, but also domain entry in resolv.conf

Signed-off-by: Christian Hesse <mail@eworm.de>
7 years agopxe-common: add dns domain name in resolv.conf
Christian Hesse [Thu, 29 Sep 2016 15:09:59 +0000 (17:09 +0200)]
pxe-common: add dns domain name in resolv.conf

Signed-off-by: Christian Hesse <mail@eworm.de>
7 years agopxe-common: add a comment what added settings to resolv.conf
Christian Hesse [Thu, 29 Sep 2016 15:24:35 +0000 (17:24 +0200)]
pxe-common: add a comment what added settings to resolv.conf

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agoalways set copytoram for pxe boot via http
Christian Hesse [Thu, 30 Jun 2016 08:09:26 +0000 (10:09 +0200)]
always set copytoram for pxe boot via http

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agoprepare release v27
Gerardo Exequiel Pozzi [Tue, 31 May 2016 22:31:01 +0000 (19:31 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years ago[configs/releng] Add ndisc6
Gerardo Exequiel Pozzi [Tue, 31 May 2016 22:27:39 +0000 (19:27 -0300)]
[configs/releng] Add ndisc6

Requested at FS#49526

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years agofix indention and add EditorConfig configuration
Christian Hesse [Sat, 28 May 2016 21:36:56 +0000 (23:36 +0200)]
fix indention and add EditorConfig configuration

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agoflush and set down only if boot interface is known
Christian Hesse [Sat, 28 May 2016 16:20:27 +0000 (18:20 +0200)]
flush and set down only if boot interface is known

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agodo not declare bootif_dev local
Christian Hesse [Thu, 26 May 2016 21:53:07 +0000 (23:53 +0200)]
do not declare bootif_dev local

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agouse ip syntax according to ip-address(8)
Christian Hesse [Thu, 26 May 2016 21:53:04 +0000 (23:53 +0200)]
use ip syntax according to ip-address(8)

According to ip-address(8) flushing an interface requires the
keyword 'dev'.
Also add proper quoting.

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agomove modprobe to run_earlyhook()
Christian Hesse [Wed, 25 May 2016 19:35:12 +0000 (21:35 +0200)]
move modprobe to run_earlyhook()

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agoonly run pxe late hook if $ip is given
Christian Hesse [Tue, 24 May 2016 11:57:08 +0000 (13:57 +0200)]
only run pxe late hook if $ip is given

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agofix NBD boot without copy-to-ram
Christian Hesse [Tue, 24 May 2016 10:02:42 +0000 (12:02 +0200)]
fix NBD boot without copy-to-ram

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years ago[configs/releng] Fix efitools path #2 v26
Gerardo Exequiel Pozzi [Sun, 15 May 2016 19:02:58 +0000 (16:02 -0300)]
[configs/releng] Fix efitools path #2

Thanks Daniel Hillenbrand.

8 years agoprepare release
Gerardo Exequiel Pozzi [Sun, 15 May 2016 02:50:19 +0000 (23:50 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years ago[configs/releng] Oops, fix efitools path
Gerardo Exequiel Pozzi [Sun, 15 May 2016 02:46:35 +0000 (23:46 -0300)]
[configs/releng] Oops, fix efitools path

Thanks Philip Müller.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years ago[configs/releng] prebootloader -> efitools
Gerardo Exequiel Pozzi [Fri, 13 May 2016 01:09:39 +0000 (22:09 -0300)]
[configs/releng] prebootloader -> efitools

Should be fixed FS#49314 first

8 years agoupdate to match upstream binary name mkfs.fat
Christian Hesse [Thu, 12 May 2016 21:22:24 +0000 (23:22 +0200)]
update to match upstream binary name mkfs.fat

Starting with dosfstools 4.0-1 the mkfs executable is called 'mkfs.fat'.

Signed-off-by: Christian Hesse <mail@eworm.de>
8 years ago[archiso] Set net iface down if copytoram=y (default)
Gerardo Exequiel Pozzi [Sat, 19 Mar 2016 01:04:16 +0000 (22:04 -0300)]
[archiso] Set net iface down if copytoram=y (default)

This should fix FS#36749

Also flush address on specified device (default)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years ago[configs/releng] Add some SCSI tools
Gerardo Exequiel Pozzi [Tue, 15 Mar 2016 14:25:32 +0000 (11:25 -0300)]
[configs/releng] Add some SCSI tools

Requested at FS#48591

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years agoprepare release v25
Gerardo Exequiel Pozzi [Wed, 2 Mar 2016 13:31:35 +0000 (10:31 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years ago[archiso] Increase EFI image size for El Torito boot method
Gerardo Exequiel Pozzi [Wed, 2 Mar 2016 00:51:50 +0000 (21:51 -0300)]
[archiso] Increase EFI image size for El Torito boot method

Current build leaves ~800K free of 31M in the FAT filesystem, adding 9M.

Going beyond 65535 sectors of 512-byte is a bit special,
but works for EFI. Image size is reported a zero in boot catalog,
but xorriso does a good job, and writes right value in hybrid-partition.

Tested booting in qemu in both modes (cd-rom and hybrid) and works fine.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years agoFix non-signed builds
Gerardo Exequiel Pozzi [Wed, 2 Mar 2016 00:47:25 +0000 (21:47 -0300)]
Fix non-signed builds

FS#48382

8 years agoprepare release v24
Gerardo Exequiel Pozzi [Sun, 28 Feb 2016 21:30:01 +0000 (18:30 -0300)]
prepare release

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
8 years agoOptionally sign the squashfs files with gpg and add the gpg key to the initramfs
Thomas Bächler [Sat, 13 Feb 2016 09:08:38 +0000 (10:08 +0100)]
Optionally sign the squashfs files with gpg and add the gpg key to the initramfs

A new option -g <keyid> is added to build.sh set the key id. If it is set, the squashfs files will be signed
by gpg and the gpg key will be added to archiso.img. In order to use this option, a gpg agent must be running.
Since build.sh is executed as root, it may be necessary to set the GNUPGHOME environment variable, for
example

$ su -c "GNUPGHOME=/home/youruser/.gnupg /path/to/build.sh -g yourkeyid"

8 years agoOptionally sign the squashfs files with gpg
Thomas Bächler [Sat, 13 Feb 2016 00:08:50 +0000 (01:08 +0100)]
Optionally sign the squashfs files with gpg

A new option -g <keyid> is added to set the key id. The squashfs files are only signed if
this option is set.

8 years agoAdd the verify=y option to verify the squashfs signature with gpg
Thomas Bächler [Sat, 13 Feb 2016 00:08:49 +0000 (01:08 +0100)]
Add the verify=y option to verify the squashfs signature with gpg

8 years agoAdd gpg to the image and optionally create a keyring
Thomas Bächler [Sat, 13 Feb 2016 09:07:28 +0000 (10:07 +0100)]
Add gpg to the image and optionally create a keyring

If the ARCHISO_GNUPG_FD environment variable is set, its contents will be interpreted as an open file
descriptor and its contents will be used to create a keyring in the initramfs in /gpg.

8 years agofix boot parameters for mount options
Christian Hesse [Tue, 2 Feb 2016 14:45:48 +0000 (15:45 +0100)]
fix boot parameters for mount options

Fixes: 03c296cb4f031148f657b8924460a30c5c9dfecc
Signed-off-by: Christian Hesse <mail@eworm.de>
8 years agoadd boot params archisoflags= and cow_flags= for mount options
Christian Hesse [Sun, 13 Dec 2015 14:18:39 +0000 (15:18 +0100)]
add boot params archisoflags= and cow_flags= for mount options

Having files on btrfs subvolumes requires to give mount options. Add
boot params archisoflags= and cow_flags= for this purpose. Boot
parameters could look like this:

... archisodevice=/dev/sdaX archisoflags=subvolume=isos
cow_device=/dev/sdaX cow_flags=subvolume=persist ...

Signed-off-by: Christian Hesse <mail@eworm.de>