From 168495e04be029b50ce9741c14995cabd77387a4 Mon Sep 17 00:00:00 2001 From: "Carl D. Roth" Date: Mon, 23 May 2016 17:33:06 -0700 Subject: [PATCH] Move 'latest' SWI calculation into swiget --- .../all/initrds/loader-initrd-files/src/bootmodes/swi | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/base/all/initrds/loader-initrd-files/src/bootmodes/swi b/packages/base/all/initrds/loader-initrd-files/src/bootmodes/swi index 7d6a3fd7..a4c8c446 100755 --- a/packages/base/all/initrds/loader-initrd-files/src/bootmodes/swi +++ b/packages/base/all/initrds/loader-initrd-files/src/bootmodes/swi @@ -14,16 +14,6 @@ if [ ! "${SWI}" ]; then exit 200 fi -if [ "${SWI}" = "images::latest" ]; then - # Boot the latest (by mtime) SWI in the images partition. - SWI=`ls /mnt/onl/images/*.swi -t | head -n1` - if [ -z "${SWI}" ]; then - msg_error "No SWI available in /mnt/onl/images. SWI booting cannot continue." - exit 200 - fi -fi - - # # The SWI setting can be a list of URLs #