From patchwork Thu Dec 31 13:04:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1421566 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::13b; helo=mail-lf1-x13b.google.com; envelope-from=swupdate+bncbcxploxj6ikrbaezw77qkgqencac56y@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=CQf3uolF; dkim-atps=neutral Received: from mail-lf1-x13b.google.com (mail-lf1-x13b.google.com [IPv6:2a00:1450:4864:20::13b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D67fw2QD5z9sSC for ; Fri, 1 Jan 2021 00:05:09 +1100 (AEDT) Received: by mail-lf1-x13b.google.com with SMTP id m20sf11589522lfl.20 for ; Thu, 31 Dec 2020 05:05:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609419904; cv=pass; d=google.com; s=arc-20160816; b=GWtjZ+FZTdyxXuLKMY0+sK5xxwEt5kBPjghqnT56eG/oZPej1d3VlSAWqgwcJwBMCY HvUtdndX+FBKofPGfckFVG+Bv9DrIotuergYpJ+RFMBHbqDf1eK7Na1CzzhUfnjxRNAU 352KQNxsvi1Q4hqPK31XVHmC5lpCirIUtjuTcQ2Ovg3SayJH7pelJEE+Ip8cJ/LdSIGo k6ii35HGzQcSN5OJ4gNxAzj8zmAZhPMZ7c2lWfPTzCdI86tKtLaq8YGMeBHhj1QkA9mn cjMDSBXeIchi8eLpGksY+1UD7zHCCLQRWPsju+e083vt3wT3cloLaCuIIArhhVgyxUZU 0ooQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=+rs7hnkxozmigLbjitfvmuh2ARRdD7wWGHEHxahs3Xk=; b=koV4eP3Lx33ZI2sAQ2lWTbofd5rKsB6ZopxcgKDXHgMX9sbKDGuBh1KaM+4wKf9Ggq gyNz4A+ii3crXlUUXzwUjzsIrHbeTyBjZsofRZg5tv1V1ZulKveGG3rlFyeh7TzugMBQ 8w5sZw3Hqg6SDkJuVBQo3O3BBFJOngtwjIWYi4xmAS+et4N97JVyhSTc9kl9SaCmn6UU B2z4g/r8nwCFwMQ2I5a9IfgdUrCf1U+AHrAD0mxQldwhcrhPVwpWkd3A61umYt3zB/ZI ac5bIYKcxRMUx1sGhOos3MREnCm+CSl3M44HozAXPOWRiA3mwbL8wy/PrvoUdwol6D96 xpBQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=+rs7hnkxozmigLbjitfvmuh2ARRdD7wWGHEHxahs3Xk=; b=CQf3uolF9BZ/qQc7zCHYiIgvZkMjLN3gl0IsvU0X0pkf1VhIE5cxCU5BW6IgB5pi1Y uUYS4fikEvDORdsvzliNX4Hwxb/2yGw7mbLoSPwAQ2mby5sfkgr0biA5wyvmDspdiFD/ 9aLQsO46UFghEWtw3QYq8IKqBBFE5IrU7dZqg6uguEbkqia00rsqBPLQj3r9l4DqOZ/N A+VqvQc0ohAAou1s5AE+2bYKkT/R7LozY2gV8WCaQVq7DRkpSm9rko/YOx5qXyNisQrY CJ7TyH9Tgzm3ZTdu/vM42isQrXJVCWd5yT3pteVsWSx23Zpjkcz/sYY+NE82XEKfdZKF 0mNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=+rs7hnkxozmigLbjitfvmuh2ARRdD7wWGHEHxahs3Xk=; b=jOmTwt4hzaEzis+owcd6DnrHjlCAOnpJbCzO2YaA/7i/+TIE7AJrdd/B4bNZ7Z0I+j ydnALdjHthFbrr3fNgNK0h9376QQFSStWBcFpbTQ6Ln4NlXJJbEvtChvPPIuI244fFl1 gmKbKaIySKTEqNhlE63dFoE1wBq5tWTA2aSPI09Ocmgy66XGp96+oxcWhfnocUYSfoLR 3PEjbIEGpdhZloAmUHSCWW4D3R4TzqZeXbxgxYsltSU2bsHQnian3cTEiru4MnKVLRap V8YqGCF0ri+aPCJ1Fy1inqYpB4FMkhUdOpMC/vO4dcADkLe0QC++EpbEyQQNfuNWDY88 9EXw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM532/razVDjzTRr5Cq/ICt1GA0xSXps0bSEAY9BjQnOD7IeF6zdN5 uc/7cld1EhGkWwSco8/pdLs= X-Google-Smtp-Source: ABdhPJwg9aMURATURuwVR7JFkOM5M4pmrKaasplYNqdbEjsL58/B2Q9ag9QN5zM8NVndaT2Q180G/w== X-Received: by 2002:a19:d3:: with SMTP id 202mr11281667lfa.570.1609419904577; Thu, 31 Dec 2020 05:05:04 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a19:c1cd:: with SMTP id r196ls222613lff.1.gmail; Thu, 31 Dec 2020 05:05:03 -0800 (PST) X-Received: by 2002:a19:e49:: with SMTP id 70mr26278153lfo.13.1609419903333; Thu, 31 Dec 2020 05:05:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609419903; cv=none; d=google.com; s=arc-20160816; b=MRI7FIDBcXTn8vk7I+k/v7fC6wj32LD65Q9/5Ueby/+SSunmC2e9G27SwwVLwunguf Pt1sY4zs7Pu68HqXaMtw6R9nV09J6hRw9jnayIULZtKKKbGDEyL17fdbuROahtVCt0SS lsbwI/KGJPeEUQHLCLLnqUmM2svFRknwB1F8rOjepM2Gqa3b6vSJt9smnjLUOHArmqTg 6KQp51lwd9zIdaBUGUaW9YFygrw3p59AGXW97+/QN91r+UKVwF6k012DKPJ3Q4KPvjaz h/6g8vNM9/sOqIV2anQEtWGWwq+gFuvpyYZ7TRik3tE0LkfBT0rhpG+kHKw9WnsFcE0n M/5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=sGNfWtttklsg6BoO5SINpHcGaRzfZ5eMPVE7/0uUwu4=; b=YU6Am3M8M1K6MobqGy3LO3xPVu30kiHFTVIKDEagW5C7k4sYa5fmmHMo6VBMHSY4S0 j+wN4AIYk7swvWZFppE7M5HeeCfQM1qnCqMKbYImHLvdXL7SEcu+S4dAallpOVac5HiH I1q51p1GhdjNfe05pUs0BwofjxtP5LHZ8ytttz9jkEAoyTnfNsCVbtRddQQNRwiQ5lQV ye86OMXjuNN+OrbRo+k2W4yqFwYg8d6wxz69bwK8uGXjecO9g9P10zq36KEAKcZOJFYM lJuUzMLnPD3fUl5kTbbu1LqfOq+6JKEv+KD8fRzVWN3CRatnHxCTPimzPM/g/Sj5lzVK OVig== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id r12si1388080ljm.1.2020.12.31.05.05.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Dec 2020 05:05:03 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4D67fk5C3Lz1qs3n; Thu, 31 Dec 2020 14:05:02 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4D67fk4xtSz1qr4K; Thu, 31 Dec 2020 14:05:02 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id PlSlmr9etgcJ; Thu, 31 Dec 2020 14:05:02 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 31 Dec 2020 14:05:02 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 8DFD3454082B; Thu, 31 Dec 2020 14:05:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id sI7o3IeiFqgM; Thu, 31 Dec 2020 14:04:58 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.64]) by babic.homelinux.org (Postfix) with ESMTP id 92C45454022E; Thu, 31 Dec 2020 14:04:58 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH] lua: link lua_swupdate library Date: Thu, 31 Dec 2020 14:04:57 +0100 Message-Id: <20201231130457.210081-1-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , lua just checks for .so extensions in /usr/lib/lua/, and without the link the library is not found. Instead of patching later rootfs, let SWUpdate to set the link correctly. Signed-off-by: Stefano Babic --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 82290f9..aa75953 100644 --- a/Makefile +++ b/Makefile @@ -476,6 +476,7 @@ install: all if [ $(HAVE_LUA) = y ]; then \ install -d ${DESTDIR}/${LIBDIR}/lua/$(LUAVER); \ install -m 0755 ${lua_swupdate} $(DESTDIR)/${LIBDIR}/lua/$(LUAVER); \ + ln -sfr ${lua_swupdate} $(DESTDIR)/${LIBDIR}/lua/$(LUAVER)/lua_swupdate.so; \ fi PHONY += tests