Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2017-07-06 00:03:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jeos-firstboot" Thu Jul 6 00:03:50 2017 rev:4 rq:508045 version:0.0+git20170629.77ff28f Changes: -------- --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2017-03-24 02:20:58.489835244 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2017-07-06 00:03:52.046343844 +0200 @@ -1,0 +2,9 @@ +Tue Jul 04 08:56:33 UTC 2017 - [email protected] + +- Update to version 0.0+git20170629.77ff28f: + * Add udev-settle to wait all udev rules to be run + * Provide default values for LINES and COLUMNS + * Check if booted through EFI to fix yast bootloader + * fixes after review + +------------------------------------------------------------------- Old: ---- jeos-firstboot-0.0+git20170317.c20e917.tar.xz New: ---- jeos-firstboot-0.0+git20170629.77ff28f.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jeos-firstboot.spec ++++++ --- /var/tmp/diff_new_pack.jGF6TV/_old 2017-07-06 00:03:52.934218761 +0200 +++ /var/tmp/diff_new_pack.jGF6TV/_new 2017-07-06 00:03:52.938218198 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version: 0.0+git20170317.c20e917 +Version: 0.0+git20170629.77ff28f Release: 0 Summary: Simple text based JeOS first boot wizard License: MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.jGF6TV/_old 2017-07-06 00:03:52.986211437 +0200 +++ /var/tmp/diff_new_pack.jGF6TV/_new 2017-07-06 00:03:52.990210873 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/openSUSE/jeos-firstboot.git</param> - <param name="changesrevision">9952567dcef5a0a42088a5cdd97acd752cebac7f</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">5fb1430c7ca504551b2c7bd4fa7825dc9ea73bfe</param></service></servicedata> \ No newline at end of file ++++++ jeos-firstboot-0.0+git20170317.c20e917.tar.xz -> jeos-firstboot-0.0+git20170629.77ff28f.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20170317.c20e917/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20170629.77ff28f/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20170317.c20e917/files/usr/lib/jeos-firstboot 2017-03-17 14:19:35.000000000 +0100 +++ new/jeos-firstboot-0.0+git20170629.77ff28f/files/usr/lib/jeos-firstboot 2017-06-29 13:55:41.000000000 +0200 @@ -30,6 +30,12 @@ stty_size() { set -- `stty size`; LINES=$1; COLUMNS=$2 + # stty size can return zero when not ready or + # its a serial console + if [ "$COLUMNS" = "0" -o "$LINES" = "0" ]; then + LINES=24 + COLUMNS=80 + fi }; stty_size # for testing we may run as non root @@ -220,6 +226,13 @@ echo "root:$password" | run /usr/sbin/chpasswd fi +EFI_SYSTAB="/sys/firmware/efi/systab" +# Look for EFI dir to see if the machine is booted in UEFI mode +modprobe efivars +if ! [ -f "$EFI_SYSTAB" ]; then + run sed -i -e "s/LOADER_TYPE=.*/LOADER_TYPE=grub2/g" /etc/sysconfig/bootloader +fi + #d --infobox "Creating snapshot ..." 3 40 || true #run snapper --no-dbus -v create -d "Initial Status" --userdata "important=yes" || d --msgbox "snapper failed" 0 0 || true if [ ! -e /.snapshots/3 ]; then
