diff options
Diffstat (limited to 'core/rootfs/rootfs-stage32/module.build')
-rw-r--r-- | core/rootfs/rootfs-stage32/module.build | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/rootfs/rootfs-stage32/module.build b/core/rootfs/rootfs-stage32/module.build index 73ce651b..f20c5196 100644 --- a/core/rootfs/rootfs-stage32/module.build +++ b/core/rootfs/rootfs-stage32/module.build @@ -121,19 +121,5 @@ post_copy() { copy_kernel_modules copy_kernel - # Try to fetch distro logo - if [ ! -s "$TARGET_BUILD_DIR/etc/distro.png" ]; then - local DIST=$(lsb_release -si) - if [ -n "$DIST" ]; then - [ -z "$CFG_DISTLOGO_URL" ] && CFG_DISTLOGO_URL='http://mltk-services.ruf.uni-freiburg.de/distro_logo.php?distro=' - wget -t 3 -T 3 -O "$TARGET_BUILD_DIR/etc/distro.png" "${CFG_DISTLOGO_URL}${DIST}" - if [ ! -s "$TARGET_BUILD_DIR/etc/distro.png" ]; then - rm -f "$TARGET_BUILD_DIR/etc/distro.png" - pwarning "Could not download distro-logo" - fi - else - pwarning "Could not determine distribution" - fi - fi } |