diff options
| author | Mario Limonciello <mario_limonciello@dell.com> | 2016-03-17 15:30:31 (GMT) |
|---|---|---|
| committer | Mario Limonciello <mario_limonciello@dell.com> | 2016-03-17 15:30:31 (GMT) |
| commit | b5e8c41e679ac0c6966771881e10f8b89021770e (patch) | |
| tree | 0074c07c5ced4921b43ee1e8078b6847f947b7cb | |
| parent | 665fa0200c6c9aec4ea4aafa4e6db864b6e521e8 (diff) | |
Remove immutable attribute in cleanup script due to a kernel behavioral change in ed8b0de5.
| -rw-r--r-- | debian/patches/0001-Clear-immuatable-bit-on-efivar-before-trying-to-remo.patch | 25 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/0001-Clear-immuatable-bit-on-efivar-before-trying-to-remo.patch b/debian/patches/0001-Clear-immuatable-bit-on-efivar-before-trying-to-remo.patch new file mode 100644 index 0000000..ab171cc --- /dev/null +++ b/debian/patches/0001-Clear-immuatable-bit-on-efivar-before-trying-to-remo.patch @@ -0,0 +1,25 @@ +From 535d3a0f9c096d452cc7e2b5be79cf964e2d6d5b Mon Sep 17 00:00:00 2001 +From: Mario Limonciello <mario_limonciello@dell.com> +Date: Thu, 17 Mar 2016 10:20:45 -0500 +Subject: [PATCH] Clear immuatable bit on efivar before trying to remove it + (Fixes: #49) + +--- + linux/cleanup.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/linux/cleanup.in b/linux/cleanup.in +index 38eb884..55c5cdd 100755 +--- a/linux/cleanup.in ++++ b/linux/cleanup.in +@@ -19,6 +19,7 @@ for x in /boot/efi/EFI/@@EFIDIR@@/fw/fwupdate-* ; do + done + for x in /sys/firmware/efi/efivars/fwupdate-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 ; do + if [ "${x}" != "/sys/firmware/efi/efivars/fwupdate-*-0abba7dc-e516-4167-bbf5-4d9d1c739416" ]; then ++ chattr -i "${x}" + rm -f "${x}" + fi + done +-- +1.9.1 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..c52c39b --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Clear-immuatable-bit-on-efivar-before-trying-to-remo.patch |
