Commit Graph

57 Commits

Author SHA1 Message Date
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Robin Roevens
f15707c78c buildprocess: Add extra metadata to pak lfs files
* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 15:13:15 +00:00
Arne Fitzenreiter
8d01ff736d qemu: enable on and for all supported architectures
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-22 09:51:03 +00:00
Arne Fitzenreiter
48ec07649f qemu-ga: resolve conflict by using binary from qemu built
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-21 16:23:00 +00:00
Peter Müller
b77659c957 Revert "Revert "qemu: Update to version 6.1.0""
This reverts commit dbfd639292.
2021-12-04 23:27:45 +01:00
Michael Tremer
6cf219c427 Drop support for i586
This patch removes support for i586 according to the decision being
taken over a year ago.

It removes the architecture from the build system and removes all
required hacks and other quirks that have been necessary before.

There is no need to ship any changed files to the remaining
architectures as the removed code branches have not been used.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-04 23:27:26 +01:00
Peter Müller
dbfd639292 Revert "qemu: Update to version 6.1.0"
This reverts commit 1c38f2ccef.
2021-12-04 23:27:18 +01:00
Adolf Belka
1c38f2ccef qemu: Update to version 6.1.0
- Update from 5.2.0 to 6.1.0
- Update of rootfile
- Removal of --no-pie patch as the changes are now built into the qemu source files
- Changelog is too long to fully include here. Full details can be read at
   https://wiki.qemu.org/ChangeLog/
   Following are the deprecated options and features from each version.
   6.1.0
    Using non-persistent backing file with pmem=on is now deprecated.
    '-display sdl,window_close=...' should be replaced with '-display sdl,window-close=...'
     (i.e. with a minus instead of an underscore between “window” and “close”).
    '-no-quit' is deprecated. '-display ...,window-close=off' should be used instead.
    The Aspeed swift-bmc machine is deprecated and should be replaced by the
     witherspoon-bmc or the romulus-bmc machines.
   6.0.0
    The --enable-fips option has been deprecated. Consumers wishing to have FIPS
     compliance must build QEMU with libcrypt and gnutls, NOT nettle.
    The -writeconfig option has been deprecated. The functionality of -writeconfig is
     limited and the code does not even try to detect cases where it prints incorrect
     syntax (for example if values have a quote in them). It will be removed without
     replacement.
    Boolean parameters such as share=on / share=off could be written in short form as
     share and noshare. This is now deprecated and will cause a warning.
    -chardev backend aliases tty and parport are aliases that will be removed. Instead,
     the actual backend names serial and parallel should be used.
    The delay option for socket character devices is now deprecated.
    Userspace local APIC with KVM (-M kernel-irqchip=off)
    hexadecimal sizes with scaling multipliers (e.g. 0x20M)
    -spice password=string is deprecated now. Use password-secret option instead.
    opened property of rng-* objects
    loaded property of secret and secret_keyring
    MIPS Trap-and-Emulate KVM support

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-03 22:20:00 +01:00
Michael Tremer
0e11a7c077 qemu: Remove -no-pie
There is a bug in binutils 2.36 which makes the linker not recognize
-no-pie.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-07-05 07:42:39 +02:00
Michael Tremer
df490025fe qemu: Enable riscv64 targets
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-08 16:33:24 +00:00
Adolf Belka
d06693b487 qemu: Update to 5.2.0
- Update qemu from 5.0.0 to 5.2.0
- Changelogs for 5.1.0 and 5.2.0 available at https://wiki.qemu.org/ChangeLog/
- rootfile updated
- patch no longer needed as fix built into source. patch was not utilised
	for 5.0.0 version. Patch line was commented out in previous lfs

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:46:29 +00:00
Matthias Fischer
112d36f00e qemu: Update to 5.0.0
For details see:
https://wiki.qemu.org/ChangeLog/5.0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-08-17 17:53:41 +00:00
Arne Fitzenreiter
80a2765de5 core145: add files linked against new libpng, libdb
also bump cups-filters, ghostscript, minidlna and qemu

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-13 20:44:43 +00:00
Michael Tremer
2dc2a27803 lfs: Drop quotes in DEPS variable
Not sure why this has ever been there. This simply makes it
nicer to read and edit because we can have line-breaks now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-24 08:57:27 +00:00
Michael Tremer
a9f381bd89 qemu: Fix build against glibc >= 2.31
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-22 07:30:22 +00:00
Arne Fitzenreiter
8438e2e427 qemu: bump pak version
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-02-13 16:57:36 +00:00
Arne Fitzenreiter
510a670253 qemu: remove sdl from dependency list
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-11-13 19:56:11 +00:00
Arne Fitzenreiter
d8bef72e76 qemu: switch to xz compressed source
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-11-13 19:55:17 +00:00
Jonatan Schlag
9cc131cc5a Update qemu to version 4.1.0
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-11-13 19:40:39 +00:00
Jonatan Schlag
f64cbda3d1 qemu: disable sdl and documentation
A newer version of qemu does not build anymore with our version of sdl. I
tried around a little bit and as I have not got a clue why we are using
sdl (spice and remote access still works)  I think we should disable it.

I disabled the generation of the documentation as well but this switch
does not seem to have any effect.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-11-13 19:40:29 +00:00
Jonatan Schlag
010d4a85a9 Enable seccomp support for qemu
Fixes: #11941

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-04-20 14:13:50 +01:00
Michael Tremer
92505ef003 Drop paxctl
We do not have grsecurity and more and there is no point
in shipping this tool.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-29 11:27:34 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
e9e3dd9fee qemu: Make it build with newer glibcs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-11 20:56:12 +00:00
Jonatan Schlag
62cddc671e qemu: update to version 2.11
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-24 16:12:47 +00:00
Michael Tremer
5e00841da0 Revert "Drop paxctl"
This reverts commit ae666b0c23.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-14 15:52:33 +01:00
Michael Tremer
ae666b0c23 Drop paxctl
Since the new toolchain the flags are not compiled into the
binaries any more which causes paxctl to fail.

On top of that, PaX and grsecurity won't be available freely
any more which requires us to remove it from the distribution.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:08:22 +01:00
Michael Tremer
3a8b6ae05d Various rootfile fixes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-24 20:09:03 +00:00
Jonatan Schlag
a29910adf8 Update qemu to 2.8
For Changelog see:

http://wiki.qemu.org/ChangeLog/2.8
http://wiki.qemu.org/ChangeLog/2.7

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-02 14:43:21 +00:00
Jonatan Schlag
678a797077 Add new package libusbredir
This package adds support for the use redirection of spice.
It is now possible to attach USB devices of the host where the spice
client run to the virtual machine.

The binary is not needed for this functionality and that's why they is
not shipped with the package

This feature is also enabled in qemu.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-08-07 15:03:57 +01:00
Jonatan Schlag
ccb35c191f Update qemu to version 2.6
This patch update qemu to version 2.6
For changelogs see:
http://wiki.qemu.org/ChangeLog/2.5
http://wiki.qemu.org/ChangeLog/2.6

Qemu try to built with bluez, but before version 2.6 bluez was not used
by qemu on IPFire, so I think it is better to disable bluez because
nobody needs it before version 2.6 and our bluez  is not the latest
version so I think this will cause more problems than benefits.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-07-16 11:38:39 +01:00
Jonatan Schlag
5cc7ae0926 Qemu: add a group kvm to access /dev/kvm eaiser
As a normal user, it is not possible to use qemu with KVM. This is bad
because it is better when it is possible to start the machine with a
less privileged user. To achieve this a group KVM is created and the
access to /dev/kvm is allowed for this group. So every user in this
group can use qemu with KVM.
This change is also useful for libvirt because the VMs can be started
with user nobody and group kvm.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-20 16:25:29 +01:00
Jonatan Schlag
02fa48b12c Enable spice support in qemu, add spice as a dependency for qemu and bump qemu version number.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-29 21:49:48 +01:00
Arne Fitzenreiter
6d7aff4a53 qemu: some features need disabled PaX RANDMMAP. 2015-09-18 19:23:56 +02:00
Arne Fitzenreiter
d2d9172b75 qemu: disable PaX mProtect on more binaries. 2015-09-17 19:17:44 +02:00
Arne Fitzenreiter
7f16eac4a4 qemu: update to 2.4.0
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2015-09-17 12:57:31 +02:00
Arne Fitzenreiter
c97dda34de qemu: enabled x86_64 for build and as target.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2015-09-16 20:27:52 +02:00
Arne Fitzenreiter
ad39b30985 qemu: update to 2.3.0 2015-05-06 19:12:06 +02:00
Arne Fitzenreiter
4680b4a38f qemu: bump package version to force reinstall. 2014-05-22 23:54:43 +02:00
Michael Tremer
70166a4fc6 qemu: Fix passing CFLAGS. 2012-08-07 11:05:25 +02:00
Michael Tremer
7b321c2cbe Merge remote branch 'origin/next' into arm-port
Conflicts:
	config/rootfiles/common/i586/gcc
	lfs/binutils
	lfs/cleanup-toolchain
	lfs/coreutils
	lfs/gcc
	lfs/glibc
	lfs/groff
	src/pakfire/pakfire.conf
	src/patches/gcc-4.1.2-specs-1.patch
2011-09-18 02:58:34 +02:00
Michael Tremer
846e756e16 Add possibility to disable packages for some arches. 2011-09-18 02:15:28 +02:00
Arne Fitzenreiter
cd7ed8c2e1 qemu: enabled arm-emulation support. 2011-08-26 18:15:57 +02:00
Arne Fitzenreiter
1c6e776c15 qemu: update to 0.15.0.
(need gcc4.1.2)
2011-08-17 16:52:47 +02:00
Arne Fitzenreiter
cffed7aa4b qemu: switch to qemu-kvm to support more kvm features. 2011-07-14 22:55:29 +02:00
Arne Fitzenreiter
6f52b3df16 qemu: update to 0.14.1. 2011-05-18 19:44:40 +02:00
Christian Schmidt
5c3a57a50d Updated the two qemu packages to the latest stable releases. 2010-04-11 19:47:27 +02:00
root
51459d2580 Updated qemu to current stable. 2010-02-05 13:23:59 +01:00
Arne Fitzenreiter
a5c5377197 Change qemu to a version that support kvm and kqemu. 2009-11-09 22:09:54 +01:00
Michael Tremer
341c4ecaec Qemu: Update of qemu to support KVM.
This version has built-in KVM support.
2009-11-08 19:43:51 +01:00