From 9d73420afc451a6367bec6873c74c649d08b9c01 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 24 Aug 2011 20:27:40 +0200 Subject: Renumbering hooks. --- share/hooks/005-remove-python-py.chroot | 9 --------- share/hooks/005-remove-udev-persistent-rules.chroot | 10 ---------- share/hooks/006-remove-python-py.chroot | 9 +++++++++ share/hooks/007-remove-udev-persistent-rules.chroot | 10 ++++++++++ 4 files changed, 19 insertions(+), 19 deletions(-) delete mode 100755 share/hooks/005-remove-python-py.chroot delete mode 100755 share/hooks/005-remove-udev-persistent-rules.chroot create mode 100755 share/hooks/006-remove-python-py.chroot create mode 100755 share/hooks/007-remove-udev-persistent-rules.chroot (limited to 'share/hooks') diff --git a/share/hooks/005-remove-python-py.chroot b/share/hooks/005-remove-python-py.chroot deleted file mode 100755 index ff705838f..000000000 --- a/share/hooks/005-remove-python-py.chroot +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -# Remove Python *.py files. -# -# This removes byte-compiled Python modules to save some space. - -find /usr -name "*.pyc" -print0 | xargs -0r rm -f diff --git a/share/hooks/005-remove-udev-persistent-rules.chroot b/share/hooks/005-remove-udev-persistent-rules.chroot deleted file mode 100755 index c7eec20b1..000000000 --- a/share/hooks/005-remove-udev-persistent-rules.chroot +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -set -e - -# Remove udev persistent rules. -# -# This removes udev persistent rules that cache the host systems mac address to -# remember its device name. - -rm -f /etc/udev/rules.d/*persistent-net.rules diff --git a/share/hooks/006-remove-python-py.chroot b/share/hooks/006-remove-python-py.chroot new file mode 100755 index 000000000..ff705838f --- /dev/null +++ b/share/hooks/006-remove-python-py.chroot @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +# Remove Python *.py files. +# +# This removes byte-compiled Python modules to save some space. + +find /usr -name "*.pyc" -print0 | xargs -0r rm -f diff --git a/share/hooks/007-remove-udev-persistent-rules.chroot b/share/hooks/007-remove-udev-persistent-rules.chroot new file mode 100755 index 000000000..c7eec20b1 --- /dev/null +++ b/share/hooks/007-remove-udev-persistent-rules.chroot @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +# Remove udev persistent rules. +# +# This removes udev persistent rules that cache the host systems mac address to +# remember its device name. + +rm -f /etc/udev/rules.d/*persistent-net.rules -- cgit v1.2.3