X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 25711DC0276 for ; Fri, 28 Jun 2013 14:43:54 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 6EFF1BC2AB0; Fri, 28 Jun 2013 14:43:53 +0000 (UTC) Date: Fri, 28 Jun 2013 16:41:13 +0200 From: Natanael Copa To: Dubiousjim Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH 4/8] main/syslinux: reorganize menu layout Message-ID: <20130628164113.3a3e4409@ncopa-desktop.alpinelinux.org> In-Reply-To: <73b486bf32bcfc437d016f53031fcef21812a767.1372318132.git.dubiousjim@gmail.com> References: <73b486bf32bcfc437d016f53031fcef21812a767.1372318132.git.dubiousjim@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.17; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 27 Jun 2013 03:32:17 -0400 Dubiousjim wrote: > Add a blank line between any entries added from /etc/update-extlinux.d/*. > > Move the memtest entry (if any) after a separator line, below these. > --- > main/syslinux/update-extlinux | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) > > diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux > index 014df1b..0dc3601 100755 > --- a/main/syslinux/update-extlinux > +++ b/main/syslinux/update-extlinux > @@ -134,20 +134,24 @@ for kernel in $(find /boot -name "vmlinuz-*" -type f); do > lst=$(($lst + 1)) > done > > +everbose "$lst entries found." > + > +for entry in /etc/update-extlinux.d/*; do > + [ -f "$entry" ] && { cat $entry; echo ""; } >> $conf.new > +done > + > +echo "MENU SEPARATOR" >> $conf.new > +echo "" >> $conf.new > + > if [ -f "/boot/memtest" ]; then > everbose "Found memtest86+: /boot/memtest" > echo "LABEL memtest" >> $conf.new > echo " MENU LABEL Memtest86+" >> $conf.new > echo " KERNEL memtest" >> $conf.new > echo "" >> $conf.new > - lst=$(($lst + 1)) > fi > > -everbose "$lst entries found." > > -for entry in /etc/update-extlinux.d/*; do > - [ -f "$entry" ] && cat $entry >> $conf.new > -done > > if [ "$overwrite" != "1" ]; then > exit 0 ACK -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---