From 787c4c6c3ce036bf823b1d953b6a20ae27c5249f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 28 Jun 2019 18:30:27 -0400 Subject: linux-libre 3.10.95~gnu-1 I'm taking the opportunity to start fresh because the original repository is weighed down by an upstream source archive in contained long ago. See the linux-libre package repository for the full Git history. --- (limited to 'linux-image.pkg') diff --git a/linux-image.pkg/control b/linux-image.pkg/control new file mode 100644 index 0000000..a3366f0 --- /dev/null +++ b/linux-image.pkg/control @@ -0,0 +1,6 @@ +Architecture: any-linux-any +Platform: !dev +Essential: yes +Depends: linux-common (>= ${Source-Version}) +Description: Linux image + This package provides a Linux kernel image. diff --git a/linux-image.pkg/postinst b/linux-image.pkg/postinst new file mode 100644 index 0000000..9b615b4 --- /dev/null +++ b/linux-image.pkg/postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +first=true +for arg in "${@}"; do + if ${first}; then + set -- + first=false + fi + set -- "${@}" -a "${arg}" +done + +run-parts "${@}" /etc/kernel/postinst.d diff --git a/linux-image.pkg/postrm b/linux-image.pkg/postrm new file mode 100644 index 0000000..ca0e0cb --- /dev/null +++ b/linux-image.pkg/postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +first=true +for arg in "${@}"; do + if ${first}; then + set -- + first=false + fi + set -- "${@}" -a "${arg}" +done + +run-parts "${@}" /etc/kernel/postrm.d diff --git a/linux-image.pkg/preinst b/linux-image.pkg/preinst new file mode 100644 index 0000000..881ea9b --- /dev/null +++ b/linux-image.pkg/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +# Prevent the following ENOENT warning message on new installations: +# run-parts: /etc/kernel/preinst.d: No such file or directory +if ! [ -d /etc/kernel/preinst.d ]; then + exit 0 +fi + +first=true +for arg in "${@}"; do + if ${first}; then + set -- + first=false + fi + set -- "${@}" -a "${arg}" +done + +run-parts "${@}" /etc/kernel/preinst.d diff --git a/linux-image.pkg/prerm b/linux-image.pkg/prerm new file mode 100644 index 0000000..7bc5761 --- /dev/null +++ b/linux-image.pkg/prerm @@ -0,0 +1,12 @@ +#!/bin/sh + +first=true +for arg in "${@}"; do + if ${first}; then + set -- + first=false + fi + set -- "${@}" -a "${arg}" +done + +run-parts "${@}" /etc/kernel/prerm.d -- cgit v0.9.1