From patchwork Wed Oct 30 13:27:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1186696 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ap99N3/n"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4738R7510cz9sCJ for ; Thu, 31 Oct 2019 00:28:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D67D187DBB; Wed, 30 Oct 2019 13:28:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U40749c6fRnq; Wed, 30 Oct 2019 13:28:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2765587DB1; Wed, 30 Oct 2019 13:28:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id CAAFD1BF232 for ; Wed, 30 Oct 2019 13:28:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B18852043B for ; Wed, 30 Oct 2019 13:28:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F4n2w1nw0ptq for ; Wed, 30 Oct 2019 13:28:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f193.google.com (mail-qt1-f193.google.com [209.85.160.193]) by silver.osuosl.org (Postfix) with ESMTPS id E9120204F3 for ; Wed, 30 Oct 2019 13:28:12 +0000 (UTC) Received: by mail-qt1-f193.google.com with SMTP id o3so3168532qtj.8 for ; Wed, 30 Oct 2019 06:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=LO9rcz3KorJDcwsTb8+7xS7apZqOjKZhy8BQZm+wJZo=; b=Ap99N3/nMnpvNZK8X38k5Wi9JhBDm02Ye7rHrWe8xePTJTd6yZuBokEwMnuX0nVIbd uIIlRTcmV1h3WXDeNkk7lZpVcwMhUURgsdtt3GTeMMNslZSIZftc3d/Mbq3S+4Thw1bI AjQGGf9kPzoX8qoq3VNUgdxjzgilLyFvfLYy62AcVqQmqEbvDMCivhlkNWlDCQv56cI2 E8j1sjR+YVORnU8TArKCHuxOtIbjcrQLzsbCbJGsCLlPl59S08YxU4vh0XH9oF4gLJsq nyMPkSPo5Wdr6XAg0hH3iT3E9bnWiPN1TWiqkjYO+XNI6669sXfe9Osyfy0FdIfo8lmT sDVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=LO9rcz3KorJDcwsTb8+7xS7apZqOjKZhy8BQZm+wJZo=; b=NYNDfMjkT8AXnVA+xQqiWqFi7O7TTaOIfi/wq+3PCE1m8BGkio4v/OxUpLoc8/qufN 4ezl/40Mia9AjdxR+tctYeFssk8sn3rqujxICVrKy1HMqrluJBVWsZ1YHS/Vt6e13Ixn XhfYLVvMFxtNSxjflHdOg21Y9YG2eSpVL3qmCd1xqA3hZQ9UjyX80q6PMG+zdIecEOjd f+odiK06tNa+eHaW6YCSLwX9PpDBvVp62dgQjOf9Ybcb+TC1AuU1zzJznuQJ/nE6kcqc C18TGLO2CEE1uLeqjks6hXZCRRstCqJkTSSZ5IuWmcvPCCxRFYqPhcgFLn3TuStsjjgj mo9w== X-Gm-Message-State: APjAAAW9CWmYDbMsM8xa7QDqSi1rpqyMNPhMV8xtk3CUfnFpW5B9SH+c bcklgvCDXx2w8agqNyI33AolK/hqJgo= X-Google-Smtp-Source: APXvYqzt4pCVQtUrONmScsFwYVk0dB2G5NliefH27on+XQR+5L9+S8zYSog1FVkLHTVzPcJE7dSWJw== X-Received: by 2002:a0c:ef52:: with SMTP id t18mr29332651qvs.62.1572442091670; Wed, 30 Oct 2019 06:28:11 -0700 (PDT) Received: from casantos.remote.csb ([177.97.64.39]) by smtp.gmail.com with ESMTPSA id v54sm102773qtc.77.2019.10.30.06.28.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 06:28:11 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Wed, 30 Oct 2019 10:27:56 -0300 Message-Id: <20191030132759.8643-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 Subject: [Buildroot] [PATCH RFC 0/3] support hooks and tables in virtual packages X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Le Bihan , Bernd Kuhls , Carlos Santos , Thomas Petazzoni , "Yann E . MORIN" , Adam Duskett , Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos Virtual packages are not built but it's useful to allow them to have permission/device/user tables and target-finalize/rootfs-pre-cmd hooks. With this change we don't need to replicate date as currently done in eudev and systemd user tables or test if the package is selected to add a target-finalize hook as in luainterpreter. Carlos Santos (3): package/pkg-generic.mk: support hooks and tables in virtual packages packages/luainterpreter: remove target-finalize hack packages/{eudev,systemd}: move commoun users to package/udev package/eudev/eudev.mk | 7 ------- package/luainterpreter/luainterpreter.mk | 7 +------ package/pkg-generic.mk | 17 +++++++++++++++++ package/systemd/systemd.mk | 3 --- package/udev/udev.mk | 7 +++++++ 5 files changed, 25 insertions(+), 16 deletions(-)