summaryrefslogtreecommitdiff
path: root/libre-testing
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-12-12 17:09:49 -0300
committerDavid P <megver83@parabola.nu>2018-12-12 17:09:49 -0300
commit04fb824ac78a0c815da2d7965bf21066bd9a4fe9 (patch)
tree74e9dbd574dac494de661f6c18bfdd7b492627a8 /libre-testing
parent1675797a59c1ca48b5bd59ff62adfc5dd03169ff (diff)
downloadabslibre-04fb824ac78a0c815da2d7965bf21066bd9a4fe9.tar.gz
abslibre-04fb824ac78a0c815da2d7965bf21066bd9a4fe9.tar.bz2
abslibre-04fb824ac78a0c815da2d7965bf21066bd9a4fe9.zip
remove libre-testing/chromebook-kernel
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre-testing')
-rw-r--r--libre-testing/chromebook-kernel/PKGBUILD50
-rw-r--r--libre-testing/chromebook-kernel/kernel.its35
-rw-r--r--libre-testing/chromebook-kernel/kernel.keyblockbin1208 -> 0 bytes
-rw-r--r--libre-testing/chromebook-kernel/kernel_data_key.vbprivkbin1199 -> 0 bytes
-rw-r--r--libre-testing/chromebook-kernel/linux-chromebook.install25
5 files changed, 0 insertions, 110 deletions
diff --git a/libre-testing/chromebook-kernel/PKGBUILD b/libre-testing/chromebook-kernel/PKGBUILD
deleted file mode 100644
index c566e5f7d..000000000
--- a/libre-testing/chromebook-kernel/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: David P. <megver83@parabola.nu>
-
-# This is just for testing, I may merge this
-# into the main linux-libre PKGBUILD, or
-# create a new linux-libre-chromebook pkg
-
-pkgname=chromebook-kernel
-pkgdesc='Kernel sign for linux-libre - Chromebooks'
-pkgver=20181209
-pkgrel=1
-arch=(armv7h)
-url="https://notabug.org/nuclearkev/dragora-c201/"
-license=(GPL3)
-source=('kernel.its' 'kernel.keyblock' 'kernel_data_key.vbprivk')
-depends=('linux-libre')
-makedepends=(uboot-tools vboot-utils dtc)
-conflicts=(linux-libre-chromebook)
-install=linux-chromebook.install
-sha512sums=('fc47e98eabef01cd7bea61a2d590b0a83977d9c70c62564e4c56db7d1ecdbae9486b6f9f30a6bcc5baad0855c6841825050d392f76037b202983f3faf8874df8'
- 'bb6718984a7357c9b00c37e4788480e5b8b75018c172ecc1441bc3fc5d2d42444eb5d8c7f9d2e3a7d6fed6d03acb565e3c0559486e494c40a7fe6bd0570c9ede'
- '143dea30c6da00e504c99984a98a0eb2411f558fcdd9dfa7f607d6c14e9e7dffff9cb00121d9317044b07e3e210808286598c785ee854084b993ec9cb14d8232')
-
-pkgver() {
- date +%Y%m%d
-}
-
-package() {
- cd $srcdir
-
- msg2 "Setting options for device tree compiler..."
- #cp ../kernel.its .
- mkimage -D "-I dts -O dtb -p 2048" -f kernel.its vmlinux.uimg
- dd if=/dev/zero of=bootloader.bin bs=512 count=1
- echo 'console=tty0 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootwait rw noinitrd' > cmdline
-
- msg2 "Signing kernel image..."
- vbutil_kernel \
- --pack vmlinux.kpart \
- --version 1 \
- --vmlinuz vmlinux.uimg \
- --arch arm \
- --keyblock kernel.keyblock \
- --signprivate kernel_data_key.vbprivk \
- --config cmdline \
- --bootloader bootloader.bin
-
- msg2 "Installing kernel sign..."
- mkdir -p "$pkgdir/boot"
- cp vmlinux.kpart "$pkgdir/boot"
-}
diff --git a/libre-testing/chromebook-kernel/kernel.its b/libre-testing/chromebook-kernel/kernel.its
deleted file mode 100644
index 85d094a3c..000000000
--- a/libre-testing/chromebook-kernel/kernel.its
+++ /dev/null
@@ -1,35 +0,0 @@
-/dts-v1/;
-
-/ {
- description = "Linux kernel image with one or more FDT blobs";
- #address-cells = <1>;
- images {
- kernel@1{
- description = "kernel";
- data = /incbin/("/boot/vmlinuz-linux-libre");
- type = "kernel_noload";
- arch = "arm";
- os = "linux";
- compression = "none";
- load = <0>;
- entry = <0>;
- };
- fdt@1{
- description = "rk3288-veyron-speedy.dtb";
- data = /incbin/("/boot/dtbs/linux-libre/rk3288-veyron-speedy.dtb");
- type = "flat_dt";
- arch = "arm";
- compression = "none";
- hash@1{
- algo = "sha1";
- };
- };
- };
- configurations {
- default = "conf@1";
- conf@1{
- kernel = "kernel@1";
- fdt = "fdt@1";
- };
- };
-}; \ No newline at end of file
diff --git a/libre-testing/chromebook-kernel/kernel.keyblock b/libre-testing/chromebook-kernel/kernel.keyblock
deleted file mode 100644
index 9740be4e6..000000000
--- a/libre-testing/chromebook-kernel/kernel.keyblock
+++ /dev/null
Binary files differ
diff --git a/libre-testing/chromebook-kernel/kernel_data_key.vbprivk b/libre-testing/chromebook-kernel/kernel_data_key.vbprivk
deleted file mode 100644
index 8d392fb29..000000000
--- a/libre-testing/chromebook-kernel/kernel_data_key.vbprivk
+++ /dev/null
Binary files differ
diff --git a/libre-testing/chromebook-kernel/linux-chromebook.install b/libre-testing/chromebook-kernel/linux-chromebook.install
deleted file mode 100644
index 02e08464d..000000000
--- a/libre-testing/chromebook-kernel/linux-chromebook.install
+++ /dev/null
@@ -1,25 +0,0 @@
-flash_kernel() {
- major=$(mountpoint -d / | cut -f 1 -d ':')
- minor=$(mountpoint -d / | cut -f 2 -d ':')
- device=$(cat /proc/partitions | awk {'if ($1 == "'${major}'" && $2 == "'${minor}'") print $4 '})
- device="/dev/${device/%2/1}"
-
- echo "A new kernel version needs to be flashed onto ${device}."
- echo "Do you want to do this now? [y|N]"
- read -r shouldwe
- if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
- dd if=/boot/vmlinux.kpart of=${device}
- sync
- else
- echo "You can do this later by running:"
- echo "# dd if=/boot/vmlinux.kpart of=${device}"
- fi
-}
-
-post_install () {
- flash_kernel
-}
-
-post_upgrade() {
- flash_kernel
-}