Michael Tremer
ba06294341
aws: Always exit the init script cleanly
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 16:05:15 +01:00
Michael Tremer
a570226765
Merge branch 'next' into efi
2018-07-20 12:47:20 +00:00
Michael Tremer
011204d963
fireinfo: Import latest patches
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 12:06:11 +00:00
Michael Tremer
12034118dd
installer: Run install-bootloader script instead of own code
...
This allows us to keep the GRUB installation routine in one
place only.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 12:03:10 +00:00
Michael Tremer
6cf5a533f5
partresize: Remove debugging line
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 12:03:10 +00:00
Michael Tremer
43829df3bb
partresize: Only regenerate configuration instead of re-installing GRUB
...
This should not be necessary
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 12:03:09 +00:00
Michael Tremer
befc040497
Move update-bootloader script into installer
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 12:03:09 +00:00
Michael Tremer
eadde44b05
update-bootloader: Allow passing device to install GRUB on
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 12:03:09 +00:00
Michael Tremer
c1397b7ab3
update-bootloader: Extend script to support EFI
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-20 12:03:09 +00:00
Arne Fitzenreiter
f8f4ef0795
Merge branch 'next' into efi
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
Conflicts:
config/kernel/kernel.config.aarch64-ipfire
2018-07-20 12:24:31 +01:00
Michael Tremer
6a7e6b4499
AWS: Give setup user permissions to read its own SSH keys
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 15:06:39 +01:00
Michael Tremer
87d7fc6609
aws: Unlock setup account
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 14:20:18 +01:00
Michael Tremer
53eb49180e
aws: Install SSH keys only for setup user
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 14:20:18 +01:00
Michael Tremer
e2d9fe7e16
aws: setup user should not be a system user
...
Login is not permitted for system users
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 14:20:18 +01:00
Michael Tremer
7c80f8c5cc
syslinux: Update to 6.04-pre1
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:53 +01:00
Michael Tremer
e3a3af3c5d
installer: Install GRUB in removable mode as well
...
This allows that a system will boot IPFire even when
no boot entry is configured in the EFI BIOS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:53 +01:00
Michael Tremer
7dc7880dda
installer: Always install EFI bootloader on x86_64 and aarch64
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:53 +01:00
Michael Tremer
8fbadfc7a3
installer: Create a flag that marks if EFI support is available
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:53 +01:00
Michael Tremer
92e782332c
installer: Add support to install on EFI systems
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:52 +01:00
Michael Tremer
4c2343931c
parted: Update to 3.2
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:52 +01:00
Michael Tremer
5fb499f13b
installer: Detect if we are running in EFI mode
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:51 +01:00
Michael Tremer
b661333e3a
syslinux: FTBFS with newer ld
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:50 +01:00
Michael Tremer
8a9605840c
Remove dvdrtools for cdrkit
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-14 13:43:49 +01:00
Michael Tremer
693208bf63
aws: Don't start ssh right away
...
sshctrl calls sshd directly which won't work at time of the first boot
because no keys will be generated.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-12 09:59:31 +01:00
Michael Tremer
1413006b5b
aws: Create "setup" user to run setup
...
Amazon does not permit that a user logs in as root directly.
Instead they insist on using sudo.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-10 18:40:06 +01:00
Arne Fitzenreiter
37458540bf
collect: fix cpufreq graph on some machines.
...
the file cpuinfo_cur_freq does not exist on all systems that support collect
cpufreq data.
fixes #11739
2018-07-03 15:09:40 +02:00
Arne Fitzenreiter
1ac0d5c598
Merge branch 'aarch64' into next
...
Conflicts:
config/rootfiles/core/121/filelists/acpid
config/rootfiles/core/121/filelists/apache2
config/rootfiles/core/121/filelists/apr
config/rootfiles/core/121/filelists/aprutil
config/rootfiles/core/121/filelists/armv5tel/files
config/rootfiles/core/121/filelists/armv5tel/linux-initrd-kirkwood
config/rootfiles/core/121/filelists/armv5tel/linux-initrd-multi
config/rootfiles/core/121/filelists/armv5tel/linux-kirkwood
config/rootfiles/core/121/filelists/armv5tel/linux-multi
config/rootfiles/core/121/filelists/armv5tel/rpi-firmware
config/rootfiles/core/121/filelists/armv5tel/u-boot
config/rootfiles/core/121/filelists/armv5tel/u-boot-kirkwood
config/rootfiles/core/121/filelists/armv5tel/u-boot-mkimage
config/rootfiles/core/121/filelists/beep
config/rootfiles/core/121/filelists/cmake
config/rootfiles/core/121/filelists/crda
config/rootfiles/core/121/filelists/dhcp
config/rootfiles/core/121/filelists/flex
config/rootfiles/core/121/filelists/i586/grub
config/rootfiles/core/121/filelists/i586/intel-microcode
config/rootfiles/core/121/filelists/i586/linux
config/rootfiles/core/121/filelists/i586/linux-initrd
config/rootfiles/core/121/filelists/iw
config/rootfiles/core/121/filelists/jwhois
config/rootfiles/core/121/filelists/libidn
config/rootfiles/core/121/filelists/multipath-tools
config/rootfiles/core/121/filelists/pcre
config/rootfiles/core/121/filelists/tar
config/rootfiles/core/121/filelists/unbound
config/rootfiles/core/121/filelists/wget
config/rootfiles/core/121/filelists/x86_64/grub
config/rootfiles/core/121/filelists/x86_64/intel-microcode
config/rootfiles/core/121/filelists/x86_64/linux
config/rootfiles/core/121/filelists/x86_64/linux-initrd
config/rootfiles/core/122/filelists/aarch64/files
config/rootfiles/core/122/filelists/acpid
config/rootfiles/core/122/filelists/apache2
config/rootfiles/core/122/filelists/apr
config/rootfiles/core/122/filelists/aprutil
config/rootfiles/core/122/filelists/armv5tel/linux-initrd-kirkwood
config/rootfiles/core/122/filelists/armv5tel/linux-initrd-multi
config/rootfiles/core/122/filelists/armv5tel/linux-kirkwood
config/rootfiles/core/122/filelists/armv5tel/linux-multi
config/rootfiles/core/122/filelists/armv5tel/rpi-firmware
config/rootfiles/core/122/filelists/armv5tel/u-boot
config/rootfiles/core/122/filelists/armv5tel/u-boot-kirkwood
config/rootfiles/core/122/filelists/armv5tel/u-boot-mkimage
config/rootfiles/core/122/filelists/beep
config/rootfiles/core/122/filelists/cmake
config/rootfiles/core/122/filelists/crda
config/rootfiles/core/122/filelists/dhcp
config/rootfiles/core/122/filelists/flex
config/rootfiles/core/122/filelists/i586/grub
config/rootfiles/core/122/filelists/i586/intel-microcode
config/rootfiles/core/122/filelists/i586/linux
config/rootfiles/core/122/filelists/i586/linux-initrd
config/rootfiles/core/122/filelists/iw
config/rootfiles/core/122/filelists/jwhois
config/rootfiles/core/122/filelists/libidn
config/rootfiles/core/122/filelists/multipath-tools
config/rootfiles/core/122/filelists/pcre
config/rootfiles/core/122/filelists/tar
config/rootfiles/core/122/filelists/unbound
config/rootfiles/core/122/filelists/wget
config/rootfiles/core/122/filelists/x86_64/grub
config/rootfiles/core/122/filelists/x86_64/intel-microcode
config/rootfiles/core/122/filelists/x86_64/linux
config/rootfiles/core/122/filelists/x86_64/linux-initrd
config/rootfiles/core/123/filelists/unbound
config/rootfiles/oldcore/121/filelists/acpid
config/rootfiles/oldcore/121/filelists/apache2
config/rootfiles/oldcore/121/filelists/apr
config/rootfiles/oldcore/121/filelists/aprutil
config/rootfiles/oldcore/121/filelists/armv5tel/files
config/rootfiles/oldcore/121/filelists/armv5tel/linux-initrd-kirkwood
config/rootfiles/oldcore/121/filelists/armv5tel/linux-initrd-multi
config/rootfiles/oldcore/121/filelists/armv5tel/linux-initrd-rpi
config/rootfiles/oldcore/121/filelists/armv5tel/linux-kirkwood
config/rootfiles/oldcore/121/filelists/armv5tel/linux-multi
config/rootfiles/oldcore/121/filelists/armv5tel/linux-rpi
config/rootfiles/oldcore/121/filelists/armv5tel/rpi-firmware
config/rootfiles/oldcore/121/filelists/armv5tel/u-boot
config/rootfiles/oldcore/121/filelists/armv5tel/u-boot-kirkwood
config/rootfiles/oldcore/121/filelists/armv5tel/u-boot-mkimage
config/rootfiles/oldcore/121/filelists/beep
config/rootfiles/oldcore/121/filelists/cmake
config/rootfiles/oldcore/121/filelists/crda
config/rootfiles/oldcore/121/filelists/dhcp
config/rootfiles/oldcore/121/filelists/flex
config/rootfiles/oldcore/121/filelists/i586/grub
config/rootfiles/oldcore/121/filelists/i586/intel-microcode
config/rootfiles/oldcore/121/filelists/i586/linux
config/rootfiles/oldcore/121/filelists/i586/linux-initrd
config/rootfiles/oldcore/121/filelists/iw
config/rootfiles/oldcore/121/filelists/jwhois
config/rootfiles/oldcore/121/filelists/libidn
config/rootfiles/oldcore/121/filelists/multipath-tools
config/rootfiles/oldcore/121/filelists/pcre
config/rootfiles/oldcore/121/filelists/tar
config/rootfiles/oldcore/121/filelists/wget
config/rootfiles/oldcore/121/filelists/x86_64/grub
config/rootfiles/oldcore/121/filelists/x86_64/intel-microcode
config/rootfiles/oldcore/121/filelists/x86_64/linux
config/rootfiles/oldcore/121/filelists/x86_64/linux-initrd
make.sh
2018-07-03 11:52:05 +01:00
Arne Fitzenreiter
cf7a7a874f
Merge remote-tracking branch 'origin/master' into aarch64
2018-07-02 19:07:22 +01:00
Michael Tremer
eb7ccf87c5
AWS: Store instance id
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-01 11:54:51 +01:00
Michael Tremer
464c27554c
aws: Re-enable check if we are actually running on EC2
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-01 11:52:54 +01:00
Michael Tremer
9a56118b61
aws: Suppress any output from ending dhclient
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-01 11:51:39 +01:00
Michael Tremer
787469ebd6
aws: No need to wake up udev again
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-01 11:51:18 +01:00
Michael Tremer
470e85c365
AWS: Rename network interfaces only when necessary
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-01 11:44:14 +01:00
Michael Tremer
2e42a9eaa1
AWS: Import SSH keys before meddling with the network
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-01 11:43:35 +01:00
Michael Tremer
48a7737fdd
firewall: Allow starting without a green interface
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-07-01 10:32:31 +01:00
Michael Tremer
f487e37393
AWS: No need to restart udev any more
...
The renames the network interfaces itself now
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-30 20:35:29 +01:00
Michael Tremer
4c0bd63ea4
localnet: Don't write local hostname to /etc/hosts
...
This is now being provided by nss-myhostname
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-30 19:58:42 +01:00
Michael Tremer
c7141f0479
AWS: Rename all interfaces when booting up
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-30 19:40:31 +01:00
Michael Tremer
8f2c3b49b6
aws: Apply SSH configuration changes
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-30 19:25:29 +01:00
Arne Fitzenreiter
4838034131
random: update initskript for machines with low entropy
...
the script wait until crng is correct initialized before restore the
random seed and make some disc io to work around low entropy at boot
on some machines. Not really a fix but it should be better than reverting
CVE-2018-1108 fixes from kernel.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2018-06-28 20:48:58 +02:00
Michael Tremer
7d06d0de7b
AWS: Restart udev to rename network interfaces
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-28 11:15:29 +01:00
Michael Tremer
0f224ad770
AWS: Add support for ORANGE
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-28 11:01:33 +01:00
Michael Tremer
1a0d8b0573
AWS: Remove some debugging line
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-28 10:57:50 +01:00
Michael Tremer
c86fd963d2
AWS: Calculate gateway and DNS IP addresses only for RED
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-28 10:57:13 +01:00
Michael Tremer
607240e28c
AWS: Use correct IP address for the internal DNS
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-28 10:56:06 +01:00
Michael Tremer
3273ff48f0
aws: Write HOSTNAME and DOMAINNAME when not set
...
Previously we expected the entire settings file to be empty
but since we are now shipping some defaults for other settings.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-27 10:05:55 +01:00
Michael Tremer
8b59ef085e
aws: Ensure that SSH checkbox is enabled, too
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-27 09:56:32 +01:00
Michael Tremer
7fa83c2fe7
aws: Enable SSH on the first start
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-27 09:55:39 +01:00
Michael Tremer
fd52e82a72
setup: Write /etc/hosts in initscript
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-25 11:08:04 +01:00
Michael Tremer
d97ba75fe5
setup: Don't write configuration files for TCP wrapper any more
...
This has been removed from the distribution a long time ago
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2018-06-25 11:01:24 +01:00