[PATCH 1/5] Revert "UBUNTU: [Debian] dtb: symlink /lib/firmware/(uname -r)/device-tree to /boot/dtb-(uname -r) to make flash-kernel happy"
Paolo Pisati
paolo.pisati at canonical.com
Mon Sep 1 11:29:05 UTC 2014
This reverts commit dab5e56d63c3a96a20fa107bb8ca41eb96b14b0e.
Signed-off-by: Paolo Pisati <paolo.pisati at canonical.com>
---
debian/control-scripts/postinst | 2 --
debian/control-scripts/postrm | 1 -
2 files changed, 3 deletions(-)
diff --git a/debian/control-scripts/postinst b/debian/control-scripts/postinst
index 39450cb..7e99410 100644
--- a/debian/control-scripts/postinst
+++ b/debian/control-scripts/postinst
@@ -930,13 +930,11 @@ else {
if (-e "$dtb-$version") {
if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m/<unknown>/og) {
image_magic($dtb, $image_dest);
- system("ln -s /boot/dtb-$version /lib/firmware/$version/device-tree");
}
else {
if (! -e "$dtb") {
handle_missing_link($dtb, $image_dest, "$dtb-$version",
$realimageloc);
- system("ln -s /boot/dtb-$version /lib/firmware/$version/device-tree");
}
else {
print STDERR
diff --git a/debian/control-scripts/postrm b/debian/control-scripts/postrm
index 9056eb7..cb20376 100644
--- a/debian/control-scripts/postrm
+++ b/debian/control-scripts/postrm
@@ -350,7 +350,6 @@ if ($ARGV[0] !~ /upgrade/) {
image_magic("initrd.img.old", $image_dest) if $initrd;
image_magic("dtb", $image_dest);
image_magic("dtb.old", $image_dest);
- system("rm -f /lib/firmware/$version/device-tree");
}
exit 0;
--
1.9.1
More information about the kernel-team
mailing list