diff options
author | Simon Rettberg | 2014-02-24 15:51:58 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-02-24 15:51:58 +0100 |
commit | dc7e8e3a36f66211f9837790948840307416580d (patch) | |
tree | bc8db7dd405224b4133b722225dc6127911d4634 /remote/rootfs/rootfs-stage32/data/opt/openslx/scripts | |
parent | [rfs-stage32] Don't check if addon is listen in SLX_ADDONS, just try to load it (diff) | |
download | tm-scripts-dc7e8e3a36f66211f9837790948840307416580d.tar.gz tm-scripts-dc7e8e3a36f66211f9837790948840307416580d.tar.xz tm-scripts-dc7e8e3a36f66211f9837790948840307416580d.zip |
[rfs-stage32] setup_partitons: Remove sleep 3 hack when waiting for partitions
Diffstat (limited to 'remote/rootfs/rootfs-stage32/data/opt/openslx/scripts')
-rwxr-xr-x | remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions index ca7317d4..f9640589 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions @@ -90,17 +90,6 @@ mount_temp_fallback () { } fdisk -l | sed -n "/^\/dev\//p" > "/etc/disk.partition" -# This is an ugly hack as sometimes this script is run too early, -# and fdisk won't report any partitions then. I assumed this would be -# solved by launching this script after udev-trigger finished, but -# apparently then it can still happen that we run too soon. This should -# be removed once someone figures out what fdisk really needs to work -# properly. -if [ ! -s "/etc/disk.partition" ]; then - sleep 3 - echo "Retrying fdisk" - fdisk -l | sed -n "/^\/dev\//p" > "/etc/disk.partition" -fi echo "Partitions:" cat "/etc/disk.partition" |