summaryrefslogtreecommitdiffstats
path: root/core/rootfs
diff options
context:
space:
mode:
authorJonathan Bauer2021-04-06 14:50:16 +0200
committerJonathan Bauer2021-04-06 14:50:16 +0200
commit0a12361705965296fe6b8b66d9c8f577e81ac102 (patch)
tree1bcff4017ec61067afa955c1fc563e43c56bdd75 /core/rootfs
parent[ntfsfree] dmsetup wait retry, log its output (diff)
downloadmltk-0a12361705965296fe6b8b66d9c8f577e81ac102.tar.gz
mltk-0a12361705965296fe6b8b66d9c8f577e81ac102.tar.xz
mltk-0a12361705965296fe6b8b66d9c8f577e81ac102.zip
[distro-logo] own module for distro logo
Diffstat (limited to 'core/rootfs')
-rw-r--r--core/rootfs/rootfs-stage32/module.build14
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
}