diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-06 17:12:40 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-06 17:12:40 +0100 |
| commit | fb2f22d51bd4c5931041ab8a006294bd6ed5cd70 (patch) | |
| tree | 2ac1c6b6505c2c61083372484e61688cb6736552 /debian | |
| parent | 9801516c8dfe415cd2ed94f7ffe391ed178274f5 (diff) | |
Fool lintian about removing the random devices
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/hurd.lintian-overrides | 2 | ||||
| -rw-r--r-- | debian/hurd.postinst | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/debian/hurd.lintian-overrides b/debian/hurd.lintian-overrides index 6ab5a372..4a82454d 100644 --- a/debian/hurd.lintian-overrides +++ b/debian/hurd.lintian-overrides @@ -5,5 +5,3 @@ setuid-binary bin/login 4755 root/root setuid-binary bin/ps-hurd 4755 root/root setuid-binary usr/bin/w-hurd 4755 root/root possibly-insecure-handling-of-tmp-files-in-maintainer-script postinst:65 -maintainer-script-removes-device-files postinst:69 -maintainer-script-removes-device-files postinst:71 diff --git a/debian/hurd.postinst b/debian/hurd.postinst index 4828112c..0e3a3b1a 100644 --- a/debian/hurd.postinst +++ b/debian/hurd.postinst @@ -61,9 +61,8 @@ if [ "$1" = configure ] && [ "$2" ]; then then # old random-egd translator, remove settrans -go /dev/random - rm -f /dev/random settrans -go /dev/urandom - rm -f /dev/urandom + ( cd /dev ; rm -f random urandom ) fi /usr/lib/hurd/setup-translators -K update-alternatives --install /dev/random random /dev/random-hurd 10 \ |
