Received: from aurora-borealis.phear.org (aurora-borealis.phear.org [94.242.205.164]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D8EF7781AB6 for <~alpine/users@lists.alpinelinux.org>; Tue, 30 Jun 2020 13:32:29 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by aurora-borealis.phear.org (Postfix) with ESMTP id 1BB7A10873 for <~alpine/users@lists.alpinelinux.org>; Tue, 30 Jun 2020 13:32:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at phear.org Received: from aurora-borealis.phear.org ([127.0.0.1]) by localhost (mail.phear.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5FxP5zxaSQZd for <~alpine/users@lists.alpinelinux.org>; Tue, 30 Jun 2020 13:32:24 +0000 (UTC) Received: from prometheus.u-strasbg.fr (82-65-50-238.subs.proxad.net [82.65.50.238]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: khatar) by aurora-borealis.phear.org (Postfix) with ESMTPSA id 9943510872 for <~alpine/users@lists.alpinelinux.org>; Tue, 30 Jun 2020 13:32:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org 9943510872 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1593523944; bh=qpvl5mGyb+9VplgB8JEh6kvqplpfyyh4nZPOfADm1Io=; h=Date:From:To:Subject:From; b=qqcM7ChCt7hbXO2qQ89xIGWIieCD6PQaP0ixuou9clacUjPVpadF8RLWk/Mwm4+hy rtKxoW8g7jih/Zj4y9q6Fhq+GWWDnRlvXtngcHq+V4wRzMWus/69ql1mX/im7IE5Ck xlU6I6POPKzhvJ84+Zsq6TAtmRHp/L+GCGMD+tklK1hISF/D6kSYnVzk9g5nz84UVG fMOeByxJPvLDSe27vva6s1auF16X2biAdpZsWliAkhPz30du2avaopubkF6oX0hRPJ JizW4KcvppIrgndKdvmBSWXsiP/hz3CrReyrviQFQe7faxTiM5/k2hMR6GO/bnl9Aa nY7jJIAKSmT3g== Date: Tue, 30 Jun 2020 15:32:23 +0200 From: Marc Chantreux To: ~alpine/users@lists.alpinelinux.org Subject: make readlink (so abuild) work in a chroot? Message-ID: <20200630133223.GA2903@prometheus.u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) hello, i would like to use and ship alpine chrooted dirs with alpine installed as developpement env to a project i am involved in (please don't try to tell me about docker) but apkbuild-cpan don't work because abuild don't work because readlink's stdout (captured at the very begining of abuild to set abuild_path) is empty in a chrooted env. i guess i'm not the first one to ask but the FAQ don't mention readlink or chroot. any clue, link and help would be appreciated. regards, marc