From 502e5612cc87f4df52e3cc719eda412b3bdd56ed Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sun, 8 Feb 2009 19:31:25 +0000 Subject: [PATCH] db: do not allow overwrite busybox links we let bb use /bin and /sbin, all packages overriding busybox must install the bins in /usr/bin and /usr/sbin --- src/database.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/database.c b/src/database.c index 6a99ea6..621c03c 100644 --- a/src/database.c +++ b/src/database.c @@ -1047,8 +1047,7 @@ static int apk_db_install_archive_entry(void *_ctx, if (file->diri != diri) { opkg = file->diri->pkg; - if (opkg->name != pkg->name && - strcmp(opkg->name->name, "busybox") != 0) { + if (opkg->name != pkg->name) { apk_error("%s: Trying to overwrite %s owned by %s.\n", pkg->name->name, ae->name, opkg->name->name); return -1;