diff --git a/debian/changelog b/debian/changelog index c45d4ef..dce4c6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +a2pi (0.1.1-4) unstable; urgency=low + + * Fix update to /boot/cmdline.txt (again) - thanks Ivan Drucker! + + -- David Schmenk Sun, 6 Oct 2013 14:31:35 -0700 + a2pi (0.1.1-3) unstable; urgency=low * Fix update to /boot/cmdline.txt - thanks Ivan Drucker! diff --git a/debian/postinst b/debian/postinst index 4ce7512..cf37cc5 100755 --- a/debian/postinst +++ b/debian/postinst @@ -24,7 +24,7 @@ case "$1" in # Update /boot partition files. # if [ "$(grep ttyAMA0 /boot/cmdline.txt)" != "" ] ; then - mv /boot/cmdline.txt /boot/cmdline.bak + cp /boot/cmdline.txt /boot/cmdline.bak sed -i 's/console=ttyAMA0,[0-9]* kgdboc=ttyAMA0,[0-9]* //g' /boot/cmdline.txt fi #