]> git.ipfire.org Git - people/ummeegge/ipfire-2.x.git/log
people/ummeegge/ipfire-2.x.git
7 years agoids.cgi: Reimplement function to lock page and show working notice
Stefan Schantl [Wed, 14 Feb 2018 13:03:08 +0000 (14:03 +0100)] 
ids.cgi: Reimplement function to lock page and show working notice

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids-functions.pl: Also log errors to syslog
Stefan Schantl [Wed, 14 Feb 2018 13:01:50 +0000 (14:01 +0100)] 
ids-functions.pl: Also log errors to syslog

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids-functions.pl: Use pure perl to log oinkmaster result to syslog
Stefan Schantl [Wed, 14 Feb 2018 13:00:57 +0000 (14:00 +0100)] 
ids-functions.pl: Use pure perl to log oinkmaster result to syslog

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids-functions.pl: Make variables globally accessible
Stefan Schantl [Wed, 14 Feb 2018 11:14:06 +0000 (12:14 +0100)] 
ids-functions.pl: Make variables globally accessible

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework CGI logic to download a new ruleset
Stefan Schantl [Wed, 14 Feb 2018 09:20:23 +0000 (10:20 +0100)] 
ids.cgi: Rework CGI logic to download a new ruleset

* Drop function to show a notice about snort is working.
* Introduce the log_error function which is responsible for log any
  error messages. Currently it writes it to a tempory file, which will
  be read by the WUI, the message will be displayed and the temporary file
  will be released again.
* Introduce a tiny function to easily perform a reload of the generated
  webpage.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Use tarball information from ids-functions.pl
Stefan Schantl [Wed, 14 Feb 2018 09:15:39 +0000 (10:15 +0100)] 
ids.cgi: Use tarball information from ids-functions.pl

Directly use the value from the ids-functions.pl for the
location and filename of the tarball which includes the snort ruleset.

This will save to declare this information twice and prevents from any
failures if the location of filname every changes.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop dirty hook for updating the ruleset
Stefan Schantl [Wed, 14 Feb 2018 08:00:03 +0000 (09:00 +0100)] 
ids.cgi: Drop dirty hook for updating the ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move function to call oinkmaster to ids-functions.pl
Stefan Schantl [Wed, 14 Feb 2018 07:58:18 +0000 (08:58 +0100)] 
ids.cgi: Move function to call oinkmaster to ids-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move downloader code to ids-functions.pl
Stefan Schantl [Wed, 14 Feb 2018 07:52:21 +0000 (08:52 +0100)] 
ids.cgi: Move downloader code to ids-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Use ids-functions.pl for checking available discspace
Stefan Schantl [Wed, 14 Feb 2018 07:20:50 +0000 (08:20 +0100)] 
ids.cgi: Use ids-functions.pl for checking available discspace

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoIDS: Introduce ids-functions.pl.
Stefan Schantl [Wed, 14 Feb 2018 07:18:15 +0000 (08:18 +0100)] 
IDS: Introduce ids-functions.pl.

This library will contain a set of functions used by the IDS CGI script
and the planned update script for auto-updating the snort ruleset.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop loading of File::Copy module.
Stefan Schantl [Mon, 12 Feb 2018 14:38:25 +0000 (15:38 +0100)] 
ids.cgi: Drop loading of File::Copy module.

This is not required, at any time by the script.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agologs.cgi/log.dat: Add support for oinkmaster
Stefan Schantl [Tue, 19 Dec 2017 10:57:19 +0000 (11:57 +0100)] 
logs.cgi/log.dat: Add support for oinkmaster

This will allow to display the logged output of oinkmaster
via the webinterface.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework snort configuration area
Stefan Schantl [Tue, 19 Dec 2017 10:56:04 +0000 (11:56 +0100)] 
ids.cgi: Rework snort configuration area

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Pipe the oinkmaster output to the logger binary
Stefan Schantl [Sun, 17 Dec 2017 18:10:21 +0000 (19:10 +0100)] 
ids.cgi: Pipe the oinkmaster output to the logger binary

This will allow anybody, to access the log of oinkmaster and
get detailed information about any changes which have been done
on the ruleset.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework downloader for rulesets
Stefan Schantl [Sun, 17 Dec 2017 18:08:25 +0000 (19:08 +0100)] 
ids.cgi: Rework downloader for rulesets

Doing the rules download in pure perl instead of using
the external wget.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop old control code
Stefan Schantl [Thu, 14 Dec 2017 07:31:41 +0000 (08:31 +0100)] 
ids.cgi: Drop old control code

The control file are not longer required, because the
initscript uses the settings file to determine if snort
should be started and binded to which interfaches.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agosnort: Introduce ruleset-sources.list
Stefan Schantl [Wed, 13 Dec 2017 14:06:42 +0000 (15:06 +0100)] 
snort: Introduce ruleset-sources.list

This file contains the ruleset vendors and download urls and
will be used by the ids.cgi.

If an url or filename changes, we easily can adjust this file. In most
cases this will be needed when performing a snort update.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agogeneral-functions.pl: readhash() Add code to handle optional comments in files
Stefan Schantl [Wed, 13 Dec 2017 13:53:51 +0000 (14:53 +0100)] 
general-functions.pl: readhash() Add code to handle optional comments in files

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Call oinkmaster without a log target
Stefan Schantl [Wed, 13 Dec 2017 13:50:12 +0000 (14:50 +0100)] 
ids.cgi: Call oinkmaster without a log target

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Introduce ruleset-source.list
Stefan Schantl [Wed, 13 Dec 2017 13:45:27 +0000 (14:45 +0100)] 
ids.cgi: Introduce ruleset-source.list

This new file will contain the vendor information and url
for downloading their ruleset. In future if the download location
or filename changes, we only need to adjust this one file and ship
it via a core update.

Also extend the downloadrulesfile to be able to directly call the
subfunction.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Adjust code for saving snort settings
Stefan Schantl [Wed, 13 Dec 2017 13:40:47 +0000 (14:40 +0100)] 
ids.cgi: Adjust code for saving snort settings

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Remove logfile after wget has successfully downloaded the ruleset
Stefan Schantl [Wed, 13 Dec 2017 10:53:44 +0000 (11:53 +0100)] 
ids.cgi: Remove logfile after wget has successfully downloaded the ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework code which shows if oinkmaster is working
Stefan Schantl [Wed, 13 Dec 2017 10:51:08 +0000 (11:51 +0100)] 
ids.cgi: Rework code which shows if oinkmaster is working

Move the code for displaying a notice that snort currently is working
into an own subfunction which will be called if oinkmaster currently
is started.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop old code for debuging purposes
Stefan Schantl [Wed, 13 Dec 2017 10:50:01 +0000 (11:50 +0100)] 
ids.cgi: Drop old code for debuging purposes

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Add check when altering the ruleset
Stefan Schantl [Wed, 13 Dec 2017 10:46:40 +0000 (11:46 +0100)] 
ids.cgi: Add check when altering the ruleset

Add a check if the currently processing sid is nummeric, otherwise skip it.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework code for downloading/updating the ruleset
Stefan Schantl [Tue, 12 Dec 2017 19:24:50 +0000 (20:24 +0100)] 
ids.cgi: Rework code for downloading/updating the ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move call of oinkmaster to an own subfunction
Stefan Schantl [Tue, 12 Dec 2017 19:24:11 +0000 (20:24 +0100)] 
ids.cgi: Move call of oinkmaster to an own subfunction

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Always write config files for enabled/disabled rule files
Stefan Schantl [Tue, 12 Dec 2017 19:16:26 +0000 (20:16 +0100)] 
ids.cgi: Always write config files for enabled/disabled rule files

If a single sid has been activated and then disabled without doing
any other ruleset modifications only one of the oinkmaster files
for enabled / disabled rules has been modified.

In this case it was possible, that the same sid, was part of the
file for enabled rules and part of the file for disabled rules at the
same time.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Process enabled rulefiles in an own loop
Stefan Schantl [Tue, 12 Dec 2017 19:15:00 +0000 (20:15 +0100)] 
ids.cgi: Process enabled rulefiles in an own loop

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop enabled/disabled rules from cgiparams hash
Stefan Schantl [Tue, 12 Dec 2017 19:12:38 +0000 (20:12 +0100)] 
ids.cgi: Drop enabled/disabled rules from cgiparams hash

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop enabled rulefile from cgiparams hash after processing
Stefan Schantl [Tue, 12 Dec 2017 19:10:17 +0000 (20:10 +0100)] 
ids.cgi: Drop enabled rulefile from cgiparams hash after processing

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Re-add code for enable/disable rulefiles
Stefan Schantl [Mon, 11 Dec 2017 13:22:07 +0000 (14:22 +0100)] 
ids.cgi: Re-add code for enable/disable rulefiles

The enabled rulefiles (rule categories) now will be added
to an own file, which will be included by the snort main config
file.

This will allow us to update snort and push the new main config file
without loosing the activated rulesets anymore.

* Introducing snort-used-rulefiles.conf

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Code cleanup
Stefan Schantl [Mon, 11 Dec 2017 07:46:18 +0000 (08:46 +0100)] 
ids.cgi: Code cleanup

* Drop a lot of unused variables and code.
* Re-ordering some code parts.
* Add a lot of comments.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Re-add code to save the ruleset.
Stefan Schantl [Mon, 11 Dec 2017 07:33:36 +0000 (08:33 +0100)] 
ids.cgi: Re-add code to save the ruleset.

The manually enabled or disabled rules by the user now will be written
to own config files, which will be used by oinkmaster to keep these rules
in the same state after a rules update has been performed.

In short words, if you adjust your ruleset, the changes will not be lost
again if you perform an update of your ruleset.

* Grabbing and storing the cgi values now in an own hash (%cgiparams)
* Introducing oinkmaster config files for enabled and disabled rules.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop unused css code
Stefan Schantl [Sun, 10 Dec 2017 09:36:07 +0000 (10:36 +0100)] 
ids.cgi: Drop unused css code

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework code for displaying the single rules
Stefan Schantl [Sun, 10 Dec 2017 09:07:41 +0000 (10:07 +0100)] 
ids.cgi: Rework code for displaying the single rules

The complete ruleset will be grouped as categories by it's
corresponding rulefile and printed in hidden tables.

They easiely can be displayed by klicking on the show link and
vice-versa.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Always display ruleset
Stefan Schantl [Wed, 6 Dec 2017 10:44:30 +0000 (11:44 +0100)] 
ids.cgi: Always display ruleset

Display the rule categories any time and do not hide them
if no instance of snort is runing.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Remove comment lines for snort rules control
Stefan Schantl [Wed, 6 Dec 2017 10:19:42 +0000 (11:19 +0100)] 
ids.cgi: Remove comment lines for snort rules control

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Refactor reading-in rule files.
Stefan Schantl [Wed, 6 Dec 2017 08:51:46 +0000 (09:51 +0100)] 
ids.cgi: Refactor reading-in rule files.

Move the code for reading and parsing the snort rule files
into an own subfunction.

* Drop code for reading in and modifying the snort main config file.
* Rework code for parsing and adding the snort rules to the snortrules hash.
* Drop code for gathering a description for the rule files, which does not
  because of a file layout change and sadly there is not suitable description
  shipped anymore by the snort team.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move function to end of file
Stefan Schantl [Sat, 2 Dec 2017 14:31:19 +0000 (15:31 +0100)] 
ids.cgi: Move function to end of file

Move the function for doing the page refresh stuff to the end of the file and
do some layout changes for better reading the code.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Use pure perl for directory listing
Stefan Schantl [Sat, 2 Dec 2017 14:24:12 +0000 (15:24 +0100)] 
ids.cgi: Use pure perl for directory listing

Use pure perl for getting the filelist of available
rule files instead of using a sub-shell and unix commands.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop old code for uploading a ruleset
Stefan Schantl [Sat, 2 Dec 2017 14:17:49 +0000 (15:17 +0100)] 
ids.cgi: Drop old code for uploading a ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agocdrom: Move list of EFI modules to lfs/cdrom
Michael Tremer [Wed, 25 Jul 2018 09:54:35 +0000 (10:54 +0100)] 
cdrom: Move list of EFI modules to lfs/cdrom

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Re-order arguments again
Michael Tremer [Mon, 23 Jul 2018 22:10:36 +0000 (23:10 +0100)] 
cdrom: Re-order arguments again

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: The order of arguments for mkisofs seems to be relevant
Michael Tremer [Sun, 22 Jul 2018 21:31:30 +0000 (22:31 +0100)] 
cdrom: The order of arguments for mkisofs seems to be relevant

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agogrub: apply vga fallback disable patch again
Arne Fitzenreiter [Sun, 22 Jul 2018 11:41:38 +0000 (13:41 +0200)] 
grub: apply vga fallback disable patch again

on some systems (e.g. J1900 based) grub detects a too low resolution
and use it. This is no problem in grub itself but the kernel not render
the consoles in this mode.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agosyslinux: update i586 rootfile
Arne Fitzenreiter [Sat, 21 Jul 2018 14:39:46 +0000 (16:39 +0200)] 
syslinux: update i586 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agoflash-images: fix partition layout on i586
Arne Fitzenreiter [Sat, 21 Jul 2018 14:33:29 +0000 (16:33 +0200)] 
flash-images: fix partition layout on i586

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Stefan Schantl [Sat, 21 Jul 2018 12:14:53 +0000 (14:14 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

7 years agoaws: Add support for a script that can be executed at first boot
Michael Tremer [Fri, 20 Jul 2018 15:19:46 +0000 (16:19 +0100)] 
aws: Add support for a script that can be executed at first boot

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: Always exit the init script cleanly
Michael Tremer [Tue, 17 Jul 2018 17:05:07 +0000 (18:05 +0100)] 
aws: Always exit the init script cleanly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoasterisk: Don't optimise for builder
Michael Tremer [Fri, 20 Jul 2018 14:21:36 +0000 (14:21 +0000)] 
asterisk: Don't optimise for builder

Asterisk enables -march=native which renders the code
incompatible to most systems.

Fixes: #11793
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoMerge branch 'next' into efi
Michael Tremer [Fri, 20 Jul 2018 12:47:20 +0000 (12:47 +0000)] 
Merge branch 'next' into efi

7 years agofireinfo: Import latest patches
Michael Tremer [Fri, 20 Jul 2018 12:06:11 +0000 (12:06 +0000)] 
fireinfo: Import latest patches

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoinstaller: Run install-bootloader script instead of own code
Michael Tremer [Fri, 20 Jul 2018 11:59:00 +0000 (11:59 +0000)] 
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>
7 years agopartresize: Remove debugging line
Michael Tremer [Fri, 20 Jul 2018 11:53:55 +0000 (11:53 +0000)] 
partresize: Remove debugging line

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agopartresize: Only regenerate configuration instead of re-installing GRUB
Michael Tremer [Fri, 20 Jul 2018 11:53:24 +0000 (11:53 +0000)] 
partresize: Only regenerate configuration instead of re-installing GRUB

This should not be necessary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoMove update-bootloader script into installer
Michael Tremer [Fri, 20 Jul 2018 11:51:50 +0000 (11:51 +0000)] 
Move update-bootloader script into installer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoupdate-bootloader: Allow passing device to install GRUB on
Michael Tremer [Fri, 20 Jul 2018 11:47:35 +0000 (11:47 +0000)] 
update-bootloader: Allow passing device to install GRUB on

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoupdate-bootloader: Extend script to support EFI
Michael Tremer [Fri, 20 Jul 2018 11:34:55 +0000 (11:34 +0000)] 
update-bootloader: Extend script to support EFI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-image: use FAT for /boot partition on aarch64
Arne Fitzenreiter [Fri, 20 Jul 2018 11:24:49 +0000 (12:24 +0100)] 
flash-image: use FAT for /boot partition on aarch64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agoMerge branch 'next' into efi
Arne Fitzenreiter [Thu, 19 Jul 2018 17:15:50 +0000 (18:15 +0100)] 
Merge branch 'next' into efi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Conflicts:
config/kernel/kernel.config.aarch64-ipfire

7 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Stefan Schantl [Thu, 19 Jul 2018 16:10:23 +0000 (18:10 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

7 years agokernel: aarch64: enable virtio drivers
Arne Fitzenreiter [Thu, 19 Jul 2018 08:30:47 +0000 (09:30 +0100)] 
kernel: aarch64: enable virtio drivers

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agou-boot: boot aarch64 kernel without -multi extension
Arne Fitzenreiter [Thu, 19 Jul 2018 08:29:44 +0000 (09:29 +0100)] 
u-boot: boot aarch64 kernel without -multi extension

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agokernel: apply multi arch patchset for aarch64
Arne Fitzenreiter [Thu, 19 Jul 2018 08:28:27 +0000 (09:28 +0100)] 
kernel: apply multi arch patchset for aarch64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agocdrom: mkisofs seems to not like the order of the arguments
Michael Tremer [Mon, 16 Jul 2018 21:35:21 +0000 (22:35 +0100)] 
cdrom: mkisofs seems to not like the order of the arguments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoRootfile update
Michael Tremer [Mon, 16 Jul 2018 21:31:11 +0000 (22:31 +0100)] 
Rootfile update

We don't have EFI on i586

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoAWS: Give setup user permissions to read its own SSH keys
Michael Tremer [Sat, 14 Jul 2018 14:06:39 +0000 (15:06 +0100)] 
AWS: Give setup user permissions to read its own SSH keys

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: Unlock setup account
Michael Tremer [Thu, 12 Jul 2018 14:37:59 +0000 (15:37 +0100)] 
aws: Unlock setup account

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: Install SSH keys only for setup user
Michael Tremer [Thu, 12 Jul 2018 12:57:19 +0000 (13:57 +0100)] 
aws: Install SSH keys only for setup user

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: setup user should not be a system user
Michael Tremer [Thu, 12 Jul 2018 12:55:38 +0000 (13:55 +0100)] 
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>
7 years agokernel: Enable EFI on aarch64
Michael Tremer [Sat, 14 Jul 2018 13:05:09 +0000 (14:05 +0100)] 
kernel: Enable EFI on aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-images: Only install grub for EFI on aarch64
Michael Tremer [Thu, 12 Jul 2018 12:59:07 +0000 (13:59 +0100)] 
flash-images: Only install grub for EFI on aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Run isohybrid only when we have syslinux
Michael Tremer [Thu, 12 Jul 2018 09:39:57 +0000 (10:39 +0100)] 
cdrom: Run isohybrid only when we have syslinux

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Fix building GRUB image for aarch64
Michael Tremer [Tue, 10 Jul 2018 17:10:14 +0000 (18:10 +0100)] 
cdrom: Fix building GRUB image for aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Install ISOLINUX only on some architectures
Michael Tremer [Tue, 10 Jul 2018 14:34:30 +0000 (15:34 +0100)] 
cdrom: Install ISOLINUX only on some architectures

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Install iPXE only on x86
Michael Tremer [Tue, 10 Jul 2018 13:38:21 +0000 (14:38 +0100)] 
cdrom: Install iPXE only on x86

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Install memtest only on x86
Michael Tremer [Thu, 5 Jul 2018 22:29:20 +0000 (23:29 +0100)] 
cdrom: Install memtest only on x86

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoBuild efibootmgr and efivars only for x86_64 and aarch64
Michael Tremer [Thu, 21 Jun 2018 14:53:38 +0000 (15:53 +0100)] 
Build efibootmgr and efivars only for x86_64 and aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agosyslinux: Update to 6.04-pre1
Michael Tremer [Sun, 17 Jun 2018 21:49:14 +0000 (22:49 +0100)] 
syslinux: Update to 6.04-pre1

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoinstaller: Install GRUB in removable mode as well
Michael Tremer [Sun, 17 Jun 2018 17:18:25 +0000 (18:18 +0100)] 
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>
7 years agoinstaller: Always install EFI bootloader on x86_64 and aarch64
Michael Tremer [Sun, 17 Jun 2018 17:16:26 +0000 (18:16 +0100)] 
installer: Always install EFI bootloader on x86_64 and aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoinstaller: Create a flag that marks if EFI support is available
Michael Tremer [Sun, 17 Jun 2018 17:15:08 +0000 (18:15 +0100)] 
installer: Create a flag that marks if EFI support is available

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-image+cdrom: Execute ARMv5-specific code on ARMv5
Michael Tremer [Wed, 13 Jun 2018 22:21:58 +0000 (23:21 +0100)] 
flash-image+cdrom: Execute ARMv5-specific code on ARMv5

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoRootfile update for parted
Michael Tremer [Wed, 13 Jun 2018 22:05:44 +0000 (23:05 +0100)] 
Rootfile update for parted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoBuild GRUB on aarch64
Michael Tremer [Mon, 11 Jun 2018 17:32:42 +0000 (18:32 +0100)] 
Build GRUB on aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agomake.sh: Build popt earlier
Michael Tremer [Mon, 11 Jun 2018 16:13:40 +0000 (17:13 +0100)] 
make.sh: Build popt earlier

efivars depends on it and since it is a very common library
without any dependencies, we can build it very early

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agogrub: Don't explicitely set the font
Michael Tremer [Mon, 11 Jun 2018 09:32:28 +0000 (10:32 +0100)] 
grub: Don't explicitely set the font

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoinstaller: Add support to install on EFI systems
Michael Tremer [Mon, 11 Jun 2018 09:31:29 +0000 (10:31 +0100)] 
installer: Add support to install on EFI systems

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoparted: Update to 3.2
Michael Tremer [Mon, 11 Jun 2018 09:17:54 +0000 (10:17 +0100)] 
parted: Update to 3.2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-images: Make EFI partition 32MB
Michael Tremer [Thu, 7 Jun 2018 22:31:13 +0000 (23:31 +0100)] 
flash-images: Make EFI partition 32MB

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-images: Cleanup partitioning code
Michael Tremer [Thu, 7 Jun 2018 22:18:08 +0000 (23:18 +0100)] 
flash-images: Cleanup partitioning code

No functional changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-images: Mark the /boot partition as bootable
Michael Tremer [Thu, 7 Jun 2018 21:22:02 +0000 (22:22 +0100)] 
flash-images: Mark the /boot partition as bootable

Before, the ESP was marked as bootable which isn't necessary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-image: Use grub-install to install GRUB in EFI mode
Michael Tremer [Thu, 7 Jun 2018 21:18:32 +0000 (22:18 +0100)] 
flash-image: Use grub-install to install GRUB in EFI mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-image: Mark the EFI system partition as such
Michael Tremer [Thu, 7 Jun 2018 21:17:34 +0000 (22:17 +0100)] 
flash-image: Mark the EFI system partition as such

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-image: Remove any other GRUB configuration files in EFI mode
Michael Tremer [Thu, 7 Jun 2018 21:17:05 +0000 (22:17 +0100)] 
flash-image: Remove any other GRUB configuration files in EFI mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agogrub: Don't install an empty EFI configuration file
Michael Tremer [Thu, 7 Jun 2018 21:15:58 +0000 (22:15 +0100)] 
grub: Don't install an empty EFI configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoAdd efibootmgr and efivar
Michael Tremer [Thu, 7 Jun 2018 14:33:48 +0000 (15:33 +0100)] 
Add efibootmgr and efivar

These packages are required to manage EFI boot options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>