Commit Graph

11861 Commits

Author SHA1 Message Date
Michael Tremer
aebecaf515 jwhois: FTBFS on aarch64
Needed automake update

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-31 11:59:24 +01:00
Michael Tremer
8d7014a2e8 readline-compat: Enable package to build on aarch64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-31 11:58:44 +01:00
Michael Tremer
7d2b0e1700 ncurses-compat: FTBFS on aarch64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-31 11:58:17 +01:00
Michael Tremer
be5a22bf09 berkeley: Update automake scripts for build on aarch64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-31 11:56:37 +01:00
Michael Tremer
0d1df90f70 Config: Add macro to update automake scripts on aarch64
Some packages ship an older version which does not recognise
aarch64. To overcome this, we just update these scripts when
necessary.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-31 11:56:28 +01:00
Arne Fitzenreiter
902159ad8d kernel: update to 4.14.47
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-31 07:16:59 +02:00
Arne Fitzenreiter
d96d00e9e9 intel-microcode: use symlink for i586 rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-31 07:05:37 +02:00
Arne Fitzenreiter
2027c75ff3 Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2018-05-31 07:01:55 +02:00
Arne Fitzenreiter
6cc7c2a3d0 collectd: move cpufreq plugin init because arm has no cpufrequtils
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-30 11:30:01 +02:00
Jonatan Schlag
87b5f3711b Add Intel microcode updates
Fixes: #11590
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-29 16:42:51 +01:00
Arne Fitzenreiter
5e1f3a9cbc Revert "tar: Update to 1.30"
new tar has changes in commandline option parsing,
this break cdrom build

This reverts commit e77b4e79a9.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-27 19:48:00 +02:00
Arne Fitzenreiter
5b4f22798c xz: fix rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-27 19:14:50 +02:00
Arne Fitzenreiter
386b0268c0 xz: update rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-27 19:02:47 +02:00
Arne Fitzenreiter
fc6df72e6e Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2018-05-27 16:07:07 +02:00
Arne Fitzenreiter
c256f01608 kernel: update to 4.14.44
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-27 16:06:25 +02:00
Matthias Fischer
7039d8ae91 xz: Update to 5.2.4
For details see:
https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-27 14:10:44 +01:00
Matthias Fischer
e77b4e79a9 tar: Update to 1.30
For details see:
https://www.gnu.org/software/tar/

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-27 14:10:35 +01:00
Michael Tremer
65a736981b Don't compress packages three times. Once is enough.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-25 18:36:37 +01:00
Michael Tremer
b46f951e8a make.sh: Compress toolchain in the same way we compress everything else
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-25 14:25:07 +01:00
Arne Fitzenreiter
6c9651f620 kernel: update to 4.14.43
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-24 07:40:22 +02:00
Arne Fitzenreiter
04d63eb482 gitignore: add img.xz to ignore list 2018-05-23 19:33:12 +02:00
Michael Tremer
6b4174133a make.sh: There are no tar.gz images to copy out of the chroot environment
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-23 12:09:07 +01:00
Michael Tremer
92244a40d8 make.sh: Generate checksum files for XZ compressed images
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-23 12:08:23 +01:00
Michael Tremer
212f17c114 make.sh: Refactor XZ compression parameters again
I completely ruined this now and therefore I had to make
it new again:

* I split the parameters into smaller chunks now and added
  comments about why we have chosen those.

* I move it all to configure_build() since we do not need
  to check if the host architecture is 64 bit capable, but
  the architecture we are building for.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-23 12:03:06 +01:00
Michael Tremer
30a42c6df9 make.sh: Remove check for minimum host memory
This won't build on the ARM builders any more

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 21:31:24 +01:00
Michael Tremer
f03e254f39 make.sh: Let XZ determine how many cores it wants to use
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:46:25 +01:00
Michael Tremer
a92fb74d1a make.sh: Limit XZ memory to 2GB on 32 bit systems
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:46:03 +01:00
Michael Tremer
f7585bc7ec joe: Bump package because of ncurses update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:40:29 +01:00
Michael Tremer
0bd7b73132 hostapd: Fix detection of wireless devices with kernel 4.14
Fixes #11738

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:38:47 +01:00
Michael Tremer
9b656e7f40 entropy: Don't show message for HWRNGs any more
We cannot reliably detect this with the new kernel
and therefore cannot show this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:31:12 +01:00
Michael Tremer
ab91dde24b rngd: Always start the daemon
We cannot reliably detect in this script any more if the
system has an actual HWRNG (/dev/hwrng always exists).

Therefore we always start the daemon now and let it
deal with what ever comes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:25:03 +01:00
Michael Tremer
90940aded5 rngd: Update to version 6.2
Fixes #11737

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:23:42 +01:00
Michael Tremer
c577571e2a installer: Drop /var partition
Fixes #11735

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:07:59 +01:00
Michael Tremer
c8453e8759 make.sh: Use all processor cores for compression
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Michael Tremer
5852ad2db7 make.sh: Use exiterror to end script safely
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Michael Tremer
2eba1dc954 make.sh: Remove some empty lines
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Michael Tremer
0054a52bd8 tar seems to ignore the XZ_OPT variable sometimes
This caused that the xz command was called without any
extra arguments. This will now create the tar archive
first and then pass the archive through xz with our
command line switches.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Michael Tremer
b302b9a695 Compress flash-images as XZ as well
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Matthias Fischer
27267889aa xz: Performance and compression tuning (V2) - fine tuning
Changes since V1:

- Tuned some more 'tar'-command lines
- Included 'lfs/core-updates'
- Some fine-tuning

Hi,

Current results with V2 (clean builds):

'next':
'packages' => 255 MB
'ipfire-2.19.2gb-ext4.i586-full-core121.img.gz => 319 MB
'ipfire-2.19.i586-full-core121.iso' => 218 MB
Total => 792 MB

'xz-tuning':
'packages' => 228 MB
'ipfire-2.19.2gb-ext4.i586-full-core121.img.gz' => 318 MB
'ipfire-2.19.i586-full-core121.iso' => 207 MB

Total => 753 MB (-39 MB)

It would be nice if someone could review and test these. ;-)

If necessary, I can upload a complete patch.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Matthias Fischer
0d7a6f03d4 xz: Performance and compression tuning (V1)
Hi,

as mentioned in the "list", we're trying to make the archives as small as possible
using 'xz'-compression.

In order to achieve this, this patch tests the size of the memory available on the
host system.

It sets the xz-memory-limit (--memory=[N]Mib) to 70% of the available working memory,
a maximum of four xz-'worker threads' (-T4) and a compression rate of '-8' (-8).

These options are written to the 'XZ_OPT=' environment.

For details see:
https://linux.die.net/man/1/xz

I have set the number of available xz-'worker threads' (-T) to four (-T4), because during
the final tests the '-T0' parameter led to error messages snd stopped: 'cannot allocate memory'.
It wouldn't even run with 90%.

Furthermore, testing with '-T0' led to countless messages filling  up '_build.packages.log'.

E.g.:
...
xz: Adjusted the number of threads from 8 to 2 to not exceed the memory usage
limit of 1557 MiB
...

Tests took place on a 32bit-Ubuntu 16.04.4-system with 8 GB RAM and an Intel I7-2600.
Build time was about 04:30 hrs. Perhaps a 64bit-system would perform better (higher
values), but my goal was to make this run on as many systems as possible, so I choosed
these averages.

If minimum requirements (1024 MB RAM) are not met, building stops.

Current results:

'next', untuned:
ipfire-2.19.2gb-ext4.i586-full-core121.img.gz	=> 332951687 Bytes
ipfire-2.19.i586-full-core121.iso		=> 228589568 Bytes

'next', XZ_OPT: -T4 -8, 70% RAM:
ipfire-2.19.2gb-ext4.i586-full-core121.img.gz	=> 329725723 Bytes
ipfire-2.19.i586-full-core121.iso		=> 217055232 Bytes

These two resulting archives are 14760300 Bytes smaller than before.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Matthias Fischer
814a7d126b nano: Update to 2.9.7
For details see:
https://www.nano-editor.org/news.php

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Matthias Fischer
e50f08ae3b cmake: Update to 3.11.2
For details see:
https://cmake.org/cmake/help/v3.11/release/3.11.html#id2

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Matthias Fischer
eb1ff23333 nmap: Update to 7.70
For details see:
https://nmap.org/changelog.html

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Michael Tremer
bea1884bd7 installer: Increase size of /boot to 128M
Fixes #11736

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Arne Fitzenreiter
b7a4672497 kernel: update to 4.14.41
Signen-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-17 07:45:06 +02:00
Arne Fitzenreiter
4dd7df2f82 Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2018-05-16 14:09:42 +02:00
Arne Fitzenreiter
959b404ee0 u-boot: add Raspberry Pi 3 Model B+
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-16 10:43:58 +02:00
Arne Fitzenreiter
4a27765601 swconfig: update switch config script for Lamobo R1
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-16 10:40:36 +02:00
Arne Fitzenreiter
83a618fdcc kernel: arm-multi: enable AXP20x power regulator
this is needed for bananapi usb support

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-05-13 08:12:13 +00:00
Arne Fitzenreiter
61bb655fad Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next 2018-05-13 08:03:52 +00:00