From patchwork Wed Dec 4 20:25:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 180852 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1081786ile; Wed, 4 Dec 2019 12:25:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwfxUeC/Nu5n+9XMgi6kQG+zdaPi/W+Mtxbazh0ulOKmxqkej5BGKwp6poHRqMLYqFTnUzv X-Received: by 2002:a17:90a:b94b:: with SMTP id f11mr5402922pjw.5.1575491122672; Wed, 04 Dec 2019 12:25:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575491122; cv=none; d=google.com; s=arc-20160816; b=T/MzyfIWneke+JIE0r95C4gX8hfUXROcqnEXm+q89JiwNk7goLFOgDG/g7+HafBkP7 W/csxmprpEaItXFHplpw8eT/T4wv99cNm4vebXCS6r5Qd+2zK3MmysBEaolIV7J1GtgF 4m39TtI0rwnto65fgXd/20FWfipFp52HTlPXDW0/n2p00Jk4s30sjgetVCnTMyuhnvj5 a+Q3l8wGC/KKLHvwMDkNLSSksMp9UqsLWfO2aUgZH6qmRVSLSuXPtspRUyH99qJ6eGwu MW11jUTCgRL4Qoj2vzMEbIJeWlaSLN5XZJ334lwhWni1RRdtQmFXjkGiriqesI8ICaBK eshg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=+CmkgV+JmkIhnH1GWdQtAsy0L2jt2qabrnbB8CmbU28=; b=I2A8PkZBVlR0Hk1ylBCbp1vGDiTzmecHNrnnCmzALzeiZi1+8a0uaF61pU/52og+fo fAEjsxBnRCHTtwyTYQiK2M/DaPIHM4WE32GuFTYITAGEhqqwEQY4qwPWDfeOkp8SUg8Z 3fmu8KGm8Brk+QeJZFi2g4SRSNzTsop4e4EhhBiO1p3s+HmEsAxjIeAxefECpVQ/uyke M1oGNGLLZm5qx7fFo4Uwvsb1BZDnn8HEQmM1Sbtexapu7tIdFxeJa7neFjKPJz6ah9hC BWhMlKC+EiyNOWq+F3Ass4ynx5aviSfYdibh5LrKFQgRGuSsrGdPlLX9jHtG65MCve3R 9rcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="KvB/Hwtp"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id s21si7054459pfh.11.2019.12.04.12.25.22; Wed, 04 Dec 2019 12:25:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="KvB/Hwtp"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7CA7E7F7E1; Wed, 4 Dec 2019 20:25:20 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mail.openembedded.org (Postfix) with ESMTP id DA6F77F7BC for ; Wed, 4 Dec 2019 20:25:18 +0000 (UTC) Received: by mail-pf1-f171.google.com with SMTP id 2so375218pfg.12 for ; Wed, 04 Dec 2019 12:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eWev4vORW0sS40StCKcTW7QDL1mwCqF9hImccrdANws=; b=KvB/HwtpvGwLXX6ZSCnHoDDres6nw41ZPXh4eGcfZwU0abG3d7UeSETf3KHBjWL7+v uZIy0LhyWEKPt8I1Sq8sXpT1ezrKu++qtg9ezrGAF7qMY6qV1AH6JaJ5LT0z90EXFJmH f4rBqLAFv8Q6Jh1p7HF02oMWySa2xlcwCnrIDElsNGhnywtuC1w2SVNGZfXxpfKdJNhY MQ2xnAORuHHKoijvOzoce7t/ZTxJtuZ9UaT3s7fLCIZkz0MITVVMUXvo765G1jJeyDWs oA8rep2em4sH9Gv2ChUsLSlgpe95FGTyEQNnO6qfw9NfFvSgmcoCvmcSeNJkU8raOcKE 6N/w== 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:mime-version :content-transfer-encoding; bh=eWev4vORW0sS40StCKcTW7QDL1mwCqF9hImccrdANws=; b=Lh6EaJIXE56MIUF2Q+7M4JD4Pou6hpLResbysBZIlkdQWUKjf9lRgzg7gYDL7Lyxo4 zyKcbiNIeDt1IutN/rRrSqFgjrZ+ARCtIEgl8YPkvdiR62ishPvE7c/I7wOem7ROLN/m 48nP4dXXvHrvmWsRuV6fYAtSFGNo6iSQKX3oKyjK5NCFgUXg3+9GCuISaVjv4xVhpi3Y jc3J9vdrPBp6Zzy5Uc0vRMuArS30T2gOnWZshkJ4x2K7PVzVUl7+h+/7bthMBGEI9s9z KaMtt2/DccQz7PZKtD1JgJ3VoA1O7/XQUokkkkzwSZ8JvNUsM9h4I7pwTadq+biFCUhS jMRw== X-Gm-Message-State: APjAAAV+zf5NOVlaoUr2aAUvlxzanQetkBGhw3vhlpqWXq0ONZfBpnvT MaH/vkNxakCySZ8jLmofjbd5EpPQbGY= X-Received: by 2002:a63:fd48:: with SMTP id m8mr5529214pgj.76.1575491119274; Wed, 04 Dec 2019 12:25:19 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::2797]) by smtp.gmail.com with ESMTPSA id w11sm5097581pfn.4.2019.12.04.12.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 12:25:18 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 4 Dec 2019 12:25:00 -0800 Message-Id: <20191204202500.234688-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH V2] util-linux: Use PCRE for hardlink X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Use PCRE, this enables using posix extended Regexps on cmdline Signed-off-by: Khem Raj --- v2: Turn it into packageconfig and enable it for native/nativesdk alone meta/recipes-core/util-linux/util-linux.inc | 3 +++ 1 file changed, 3 insertions(+) -- 2.24.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 1fa82363b1..8262217fc1 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc @@ -106,6 +106,7 @@ EXTRA_OECONF_append_class-target = " --enable-setpriv" EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv" +PACKAGECONFIG ?= "pcre2" PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" # inherit manpages requires this to be present, however util-linux does not have # configuration options, and installs manpages always @@ -117,6 +118,8 @@ PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_s PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" # Readline support PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" +# PCRE support in hardlink +PACKAGECONFIG[pcre2] = ",,libpcre2" EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'"