[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH OSSTEST v3 02/11] mg-debian-installer-update: updates to better handle Jessie onwards.
Wei Liu writes ("[PATCH OSSTEST v3 02/11] mg-debian-installer-update: updates to better handle Jessie onwards."): > From: Ian Campbell <ian.campbell@xxxxxxxxxx> > > In mg-debian-installer-update: > > - Expand the list of (suite,arch) combinations which don't exist and > move it to the top. ... > - # Newer kernel often needs a newer initramfs-tools. Make that available > - echo >&2 "collecting backports initramfs-tools" > - pkgfile=`zcat Packages.gz | grep-dctrl -PX initramfs-tools -nsFilename | > sort -n -r | head -n1` > - rc=$? > - set -e > - if [ $rc != 0 ]; then fail "initramfs-tools package not found"; fi > - fetch "$site/$pkgfile" >initramfs-tools.deb > + if [ x$need_initramfs = xy ]; then > + # Newer kernel often needs a newer initramfs-tools. Make that > + # available > + echo >&2 "collecting backports initramfs-tools" > + pkgfile=`zcat Packages.gz \ > + | grep-dctrl -PX initramfs-tools -nsFilename \ > + | sort -n -r | head -n1` That looks much like this: > - pkgfile=`zcat Packages.gz | grep-dctrl -S linux | grep-dctrl -Pe > ^linux-image-.*-armmp$ -nsFilename | sort -n -r | head -n1` > + pkgfile=`zcat Packages.gz | grep-dctrl -S linux \ > + | grep-dctrl -Pe ^linux-image-.*-${bpok}$ -nsFilename \ > + | sort -n -r | head -n1` But since it was duplicated before I won't ask you to break it out. Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |