From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.187]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WIhO8-0007z6-Jd for ptxdist@pengutronix.de; Wed, 26 Feb 2014 17:31:18 +0100 Received: from idefix.lespocky.dyndns.org ([10.182.63.91] helo=[127.0.0.1]) by idefix.lespocky.dyndns.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1WIhNu-0006Vq-8H for ptxdist@pengutronix.de; Wed, 26 Feb 2014 17:31:07 +0100 Message-ID: <530E16A0.8030109@lespocky.de> Date: Wed, 26 Feb 2014 17:30:24 +0100 From: Alexander Dahl MIME-Version: 1.0 References: <1393424001-26060-1-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1393424001-26060-1-git-send-email-s.hauer@pengutronix.de> Subject: Re: [ptxdist] [PATCH 1/7] ptxdist: Add list-packages command Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0642072946==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0642072946== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VJJcEC396DSQcWrStCi4gmo17SIMIdd0i" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VJJcEC396DSQcWrStCi4gmo17SIMIdd0i Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hei hei, would be nice to add another column with the license of the package. O:-)= Greets Alex Am 26.02.2014 15:13, schrieb Sascha Hauer: > This adds a command to list all packages currently selected. ptxdist > gurus can use 'ptxdist print PACKAGES' for the same purpose, this comma= nd > is for the people who can't remember the command. As a bonus list-packa= ges > prints one package per line and sorts them alphabetically. >=20 > Signed-off-by: Sascha Hauer > --- > bin/ptxdist | 8 ++++++++ > 1 file changed, 8 insertions(+) >=20 > diff --git a/bin/ptxdist b/bin/ptxdist > index 663c41e..b2c2e7a 100755 > --- a/bin/ptxdist > +++ b/bin/ptxdist > @@ -898,6 +898,7 @@ Misc: > nfsroot run a userspace NFS server and export the nfsroot > print print the contents of a variable, in the way > it is known by "make" > + list-packages print a list of all selected packages > bash enter a ptxdist environment bash shell > bash [args...] execute in ptxdist environment > export_src export all source archives needed for this > @@ -1804,6 +1805,13 @@ EOF > ptxd_make_log "${images[@]}" > exit > ;; > + list-packages) > + check_config || return > + check_deps > + ( for i in $(ptxd_make_log "print-PACKAGES"); > + do echo $i > + done ) | sort > + ;; > make) > check_premake_compiler && > ptxd_make_log "${@}" >=20 --VJJcEC396DSQcWrStCi4gmo17SIMIdd0i Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlMOFqAACgkQj7p3RMyHENBspgCgrcqrkw4VdGtcbvycwdSd8kcA hn0AnjrZEZie1BUUBKTv08g6sgiV+Kln =TkSA -----END PGP SIGNATURE----- --VJJcEC396DSQcWrStCi4gmo17SIMIdd0i-- --===============0642072946== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0642072946==--