diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2018-12-23 02:18:01 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2018-12-23 02:22:52 +0100 |
commit | 08f5ca5b50661258964f7b36b6cc0892bf8c65e5 (patch) | |
tree | a67bbe7b8240dd6d3aac054ec2f081a8effba7eb /kernels/linux-libre-x86_64/90-linux.hook | |
parent | 8a09f6f6da7126a778b2ec93310d75e39b664c73 (diff) | |
download | abslibre-08f5ca5b50661258964f7b36b6cc0892bf8c65e5.tar.gz abslibre-08f5ca5b50661258964f7b36b6cc0892bf8c65e5.tar.bz2 abslibre-08f5ca5b50661258964f7b36b6cc0892bf8c65e5.zip |
Add kernels/linux-libre-x86_64
With this kernel, on machines with an x86_64 compatible CPU, you
can run an i686 userspace with an x86_64 kernel.
This for instance enables to use the same i686 rootfs on computers
with 32bit and 64bit CPUs, while still being able to take advantage
of a 64bit kernel on the machines that supports it.
The users will then need to force i686 in pacman.conf like that:
[options]
Architecture = i686
They will also need to select the right kernel at boot.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'kernels/linux-libre-x86_64/90-linux.hook')
-rw-r--r-- | kernels/linux-libre-x86_64/90-linux.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernels/linux-libre-x86_64/90-linux.hook b/kernels/linux-libre-x86_64/90-linux.hook new file mode 100644 index 000000000..fca45abe1 --- /dev/null +++ b/kernels/linux-libre-x86_64/90-linux.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = usr/lib/modules/%KERNVER%/vmlinuz +Target = usr/lib/initcpio/* + +[Action] +Description = Updating %PKGBASE% initcpios... +When = PostTransaction +Exec = /usr/bin/mkinitcpio -p %PKGBASE% |