commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2020-09-01 20:06:02 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.3399 (New) Package is "jeos-firstboot" Tue Sep 1 20:06:02 2020 rev:35 rq:829940 version:0.0+git20200827.e920a15 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2020-05-09 19:49:35.764482605 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.3399/jeos-firstboot.changes 2020-09-01 20:07:01.704582875 +0200 @@ -1,0 +2,6 @@ +Thu Aug 27 09:22:58 UTC 2020 - jeos-inter...@suse.de + +- Update to version 0.0+git20200827.e920a15: + * Drop the info dialog about glibc-locale (jsc#SLE-15348) + +--- Old: jeos-firstboot-0.0+git20200508.d0ccd48.tar.xz New: jeos-firstboot-0.0+git20200827.e920a15.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.Udtvi5/_old 2020-09-01 20:07:03.264583605 +0200 +++ /var/tmp/diff_new_pack.Udtvi5/_new 2020-09-01 20:07:03.272583609 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20200508.d0ccd48 +Version:0.0+git20200827.e920a15 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.Udtvi5/_old 2020-09-01 20:07:03.316583629 +0200 +++ /var/tmp/diff_new_pack.Udtvi5/_new 2020-09-01 20:07:03.316583629 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - d641d29dcf2fcf21ca2a5ba8cb595ff1b2c60b7b \ No newline at end of file + b82c4efe728cd1e74a879328be6f1473562fccdd \ No newline at end of file ++ jeos-firstboot-0.0+git20200508.d0ccd48.tar.xz -> jeos-firstboot-0.0+git20200827.e920a15.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20200508.d0ccd48/files/usr/sbin/jeos-firstboot new/jeos-firstboot-0.0+git20200827.e920a15/files/usr/sbin/jeos-firstboot --- old/jeos-firstboot-0.0+git20200508.d0ccd48/files/usr/sbin/jeos-firstboot 2020-05-08 13:29:00.0 +0200 +++ new/jeos-firstboot-0.0+git20200827.e920a15/files/usr/sbin/jeos-firstboot 2020-08-27 11:23:20.0 +0200 @@ -196,9 +196,8 @@ newlocale="$default" if ! findlocales; then d --msgbox $"No locales found" 0 0 - elif [ "${#list[@]}" -eq 2 ]; then + elif [ "${#list[@]}" -eq 2 ]; then # Only a single entry newlocale="${list[0]}" - d --msgbox $"Locale set to $newlocale.\nTo change to a different one, install glibc-locale and use\n'localectl set-locale LANG=ex_AMPLE.UTF-8'." 8 50 else d --default-item "$default" --menu $"Select system locale" 0 0 $dh_menu "${list[@]}" newlocale="${result}"
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2020-05-09 19:49:26 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.2738 (New) Package is "jeos-firstboot" Sat May 9 19:49:26 2020 rev:34 rq:801785 version:0.0+git20200508.d0ccd48 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2020-03-31 17:33:01.596287939 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.2738/jeos-firstboot.changes 2020-05-09 19:49:35.764482605 +0200 @@ -1,0 +2,6 @@ +Fri May 08 11:38:39 UTC 2020 - jeos-inter...@suse.de + +- Update to version 0.0+git20200508.d0ccd48: + * Move scripts to /usr/sbin + +--- Old: jeos-firstboot-0.0+git20200331.db3bc7c.tar.xz New: jeos-firstboot-0.0+git20200508.d0ccd48.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.etd6Ng/_old 2020-05-09 19:49:36.668484546 +0200 +++ /var/tmp/diff_new_pack.etd6Ng/_new 2020-05-09 19:49:36.668484546 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20200331.db3bc7c +Version:0.0+git20200508.d0ccd48 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT @@ -74,9 +74,8 @@ %dir %{_datadir}/defaults/ %{_datadir}/defaults/jeos-firstboot.conf %dir %{_datadir}/jeos-firstboot -%{_libexecdir}/jeos-firstboot -%{_libexecdir}/jeos-firstboot-snapshot -%{_libexecdir}/jeos-firstboot-functions +%{_sbindir}/jeos-firstboot +%{_sbindir}/jeos-firstboot-snapshot %files rpiwifi %{_datadir}/jeos-firstboot/raspberrywifi ++ _servicedata ++ --- /var/tmp/diff_new_pack.etd6Ng/_old 2020-05-09 19:49:36.712484641 +0200 +++ /var/tmp/diff_new_pack.etd6Ng/_new 2020-05-09 19:49:36.712484641 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - db3bc7cae37d0c2c29da5c621bfab837e0634cff \ No newline at end of file + d641d29dcf2fcf21ca2a5ba8cb595ff1b2c60b7b \ No newline at end of file ++ jeos-firstboot-0.0+git20200331.db3bc7c.tar.xz -> jeos-firstboot-0.0+git20200508.d0ccd48.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20200331.db3bc7c/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20200508.d0ccd48/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20200331.db3bc7c/files/usr/lib/jeos-firstboot 2020-03-31 09:48:40.0 +0200 +++ new/jeos-firstboot-0.0+git20200508.d0ccd48/files/usr/lib/jeos-firstboot 1970-01-01 01:00:00.0 +0100 @@ -1,406 +0,0 @@ -#!/bin/bash -# Copyright (c) 2015 SUSE LLC -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -set -e - -TEXTDOMAIN='jeos-firstboot' - -. /etc/os-release -. "$0-functions" - -# Read the optional configuration file -[ -f /usr/share/defaults/jeos-firstboot.conf ] && . /usr/share/defaults/jeos-firstboot.conf -[ -f /etc/jeos-firstboot.conf ] && . /etc/jeos-firstboot.conf - -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 -if [ -w /run ]; then - export TMPDIR=/run - # debugging - if [ -n "$FIRSTBOOT_DEBUG" ]; then - set -x - exec 2>/var/log/firstboot-debug - fi -else - dry=1 -fi - -if [ -n "$dry" ]; then - run() { -
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2020-03-31 17:33:00 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.3160 (New) Package is "jeos-firstboot" Tue Mar 31 17:33:00 2020 rev:33 rq:790007 version:0.0+git20200331.db3bc7c Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2020-03-11 18:48:03.423477045 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.3160/jeos-firstboot.changes 2020-03-31 17:33:01.596287939 +0200 @@ -1,0 +2,12 @@ +Tue Mar 31 07:50:47 UTC 2020 - jeos-inter...@suse.de + +- Update to version 0.0+git20200331.db3bc7c: + * Don't set JEOS_HIDE_SUSECONNECT by default + +--- +Thu Mar 26 08:50:14 UTC 2020 - jeos-inter...@suse.de + +- Update to version 0.0+git20200326.f1f96e3: + * Add JEOS_HIDE_SUSECONNECT option + +--- Old: jeos-firstboot-0.0+git20200309.b23a6ef.tar.xz New: jeos-firstboot-0.0+git20200331.db3bc7c.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.Obz5pu/_old 2020-03-31 17:33:02.256288326 +0200 +++ /var/tmp/diff_new_pack.Obz5pu/_new 2020-03-31 17:33:02.264288330 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20200309.b23a6ef +Version:0.0+git20200331.db3bc7c Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.Obz5pu/_old 2020-03-31 17:33:02.304288354 +0200 +++ /var/tmp/diff_new_pack.Obz5pu/_new 2020-03-31 17:33:02.308288357 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - a078ddb80b90b6bb31895611f9eb17be2174eea3 \ No newline at end of file + db3bc7cae37d0c2c29da5c621bfab837e0634cff \ No newline at end of file ++ jeos-firstboot-0.0+git20200309.b23a6ef.tar.xz -> jeos-firstboot-0.0+git20200331.db3bc7c.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20200309.b23a6ef/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20200331.db3bc7c/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20200309.b23a6ef/files/usr/lib/jeos-firstboot 2020-03-09 15:06:41.0 +0100 +++ new/jeos-firstboot-0.0+git20200331.db3bc7c/files/usr/lib/jeos-firstboot 2020-03-31 09:48:40.0 +0200 @@ -332,8 +332,9 @@ done fi -# Do not show the register on non SLE based distributions -if [ -x /usr/bin/SUSEConnect -a -z "${ID##sle*}" ]; then +# Do not show the register on non SLE based distributions or if is +# globally disabled +if [ -x /usr/bin/SUSEConnect -a -z "${ID##sle*}" -a -z "${JEOS_HIDE_SUSECONNECT}" ]; then d --msgbox $"Please register this image using your existing SUSE entitlement. As \"root\" use the following command: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20200309.b23a6ef/files/usr/share/defaults/jeos-firstboot.conf new/jeos-firstboot-0.0+git20200331.db3bc7c/files/usr/share/defaults/jeos-firstboot.conf --- old/jeos-firstboot-0.0+git20200309.b23a6ef/files/usr/share/defaults/jeos-firstboot.conf 2020-03-09 15:06:41.0 +0100 +++ new/jeos-firstboot-0.0+git20200331.db3bc7c/files/usr/share/defaults/jeos-firstboot.conf 2020-03-31 09:48:40.0 +0200 @@ -22,3 +22,8 @@ # PXE / OEM) that are part of another product and than can be used # when this license was already accepted by other means. # JEOS_EULA_ALREADY_AGREED='yes' + +# If set to a nonempty value, the dialog box for showing the +# SUSEConnect help will not be displayed. By default this dialog is +# present when SUSEConnect is installed on SLE systems. +# JEOS_HIDE_SUSECONNECT='yes'
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2020-03-11 18:44:28 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.3160 (New) Package is "jeos-firstboot" Wed Mar 11 18:44:28 2020 rev:32 rq:782986 version:0.0+git20200309.b23a6ef Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2020-02-29 21:20:24.906029745 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.3160/jeos-firstboot.changes 2020-03-11 18:48:03.423477045 +0100 @@ -1,0 +2,6 @@ +Mon Mar 09 14:06:56 UTC 2020 - jeos-inter...@suse.de + +- Update to version 0.0+git20200309.b23a6ef: + * Add JEOS_EULA_ALREADY_AGREED option + +--- Old: jeos-firstboot-0.0+git20200226.95cfe28.tar.xz New: jeos-firstboot-0.0+git20200309.b23a6ef.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.99uEQj/_old 2020-03-11 18:48:05.551478351 +0100 +++ /var/tmp/diff_new_pack.99uEQj/_new 2020-03-11 18:48:05.551478351 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20200226.95cfe28 +Version:0.0+git20200309.b23a6ef Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.99uEQj/_old 2020-03-11 18:48:05.575478366 +0100 +++ /var/tmp/diff_new_pack.99uEQj/_new 2020-03-11 18:48:05.575478366 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - d2e38b4c0453f0d15932789be9d1850882bd704a \ No newline at end of file + a078ddb80b90b6bb31895611f9eb17be2174eea3 \ No newline at end of file ++ jeos-firstboot-0.0+git20200226.95cfe28.tar.xz -> jeos-firstboot-0.0+git20200309.b23a6ef.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20200226.95cfe28/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20200309.b23a6ef/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20200226.95cfe28/files/usr/lib/jeos-firstboot 2020-02-26 16:44:03.0 +0100 +++ new/jeos-firstboot-0.0+git20200309.b23a6ef/files/usr/lib/jeos-firstboot 2020-03-09 15:06:41.0 +0100 @@ -260,32 +260,34 @@ fi fi -# Find the location of the EULA -# An EULA in /etc takes precedence -EULA_FILE=/etc/YaST2/licenses/base/license.txt -[ -e "${EULA_FILE}" ] || EULA_FILE=/usr/share/licenses/product/base/license.txt +if [ -z "$JEOS_EULA_ALREADY_AGREED" ]; then + # Find the location of the EULA + # An EULA in /etc takes precedence + EULA_FILE=/etc/YaST2/licenses/base/license.txt + [ -e "${EULA_FILE}" ] || EULA_FILE=/usr/share/licenses/product/base/license.txt -# Failsafe: If no license found, quit. -if ! [ -e "$EULA_FILE" ]; then - d --msgbox $"No license found - cannot continue" 6 40 - exit 1 -fi + # Failsafe: If no license found, quit. + if ! [ -e "$EULA_FILE" ]; then + d --msgbox $"No license found - cannot continue" 6 40 + exit 1 + fi -if [ "$force_english_license" = "0" ]; then - for i in "${EULA_FILE%.txt}.${JEOS_LOCALE}.txt" \ - "${EULA_FILE%.txt}.${JEOS_LOCALE%%.UTF-8}.txt" \ - "${EULA_FILE%.txt}.${language}.txt"; do - if [ -e "$i" ]; then - EULA_FILE="$i" - break - fi + if [ "$force_english_license" = "0" ]; then + for i in "${EULA_FILE%.txt}.${JEOS_LOCALE}.txt" \ + "${EULA_FILE%.txt}.${JEOS_LOCALE%%.UTF-8}.txt" \ + "${EULA_FILE%.txt}.${language}.txt"; do + if [ -e "$i" ]; then + EULA_FILE="$i" + break + fi + done + fi + + while ! dialog --backtitle "$PRETTY_NAME" --textbox "$EULA_FILE" $dh_text 85 --and-widget --yesno $"Do you agree with the terms of the license?" 0 0; do + d --msgbox $"Can not continue without agreement" 6 40 done fi -while ! dialog --backtitle "$PRETTY_NAME" --textbox "$EULA_FILE" $dh_text 85 --and-widget --yesno $"Do you agree with the terms of the license?" 0 0; do - d --msgbox $"Can not continue without agreement" 6 40 -done - default="$(readlink -f /etc/localtime)" default="${default##/usr/share/zoneinfo/}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2020-02-29 21:20:19 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.26092 (New) Package is "jeos-firstboot" Sat Feb 29 21:20:19 2020 rev:31 rq:779535 version:0.0+git20200226.95cfe28 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-12-02 11:37:53.870455082 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.26092/jeos-firstboot.changes 2020-02-29 21:20:24.906029745 +0100 @@ -1,0 +2,10 @@ +Wed Feb 26 15:46:46 UTC 2020 - jeos-inter...@suse.de + +- Update to version 0.0+git20200226.95cfe28: + * Show license on openSUSE as well (bsc#1164583) + * Improve variable names on net config + * Fix EULA message position + * Fix comments typo + * Improve coding style + +--- Old: jeos-firstboot-0.0+git20191127.be35ecb.tar.xz New: jeos-firstboot-0.0+git20200226.95cfe28.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.FtMNdI/_old 2020-02-29 21:20:25.358030639 +0100 +++ /var/tmp/diff_new_pack.FtMNdI/_new 2020-02-29 21:20:25.362030647 +0100 @@ -1,7 +1,7 @@ # # spec file for package jeos-firstboot # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20191127.be35ecb +Version:0.0+git20200226.95cfe28 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.FtMNdI/_old 2020-02-29 21:20:25.394030710 +0100 +++ /var/tmp/diff_new_pack.FtMNdI/_new 2020-02-29 21:20:25.398030718 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 2de210339882818f3bd0183d0baa964d2785ef83 \ No newline at end of file + d2e38b4c0453f0d15932789be9d1850882bd704a \ No newline at end of file ++ jeos-firstboot-0.0+git20191127.be35ecb.tar.xz -> jeos-firstboot-0.0+git20200226.95cfe28.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20191127.be35ecb/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20200226.95cfe28/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20191127.be35ecb/files/usr/lib/jeos-firstboot 2019-11-27 16:45:14.0 +0100 +++ new/jeos-firstboot-0.0+git20200226.95cfe28/files/usr/lib/jeos-firstboot 2020-02-26 16:44:03.0 +0100 @@ -122,11 +122,8 @@ retval= while true do -# disable exit on error for capturing dialog return codes - set +e - dialog --backtitle "$PRETTY_NAME" --output-fd 3 "$@" 3>"${dialog_out}" - retval=$? - set -e + retval=0 + dialog --backtitle "$PRETTY_NAME" --output-fd 3 "$@" 3>"${dialog_out}" || retval=$? case $retval in 0) # need || true as dialog doesn't write newlines @@ -204,7 +201,7 @@ newlocale="${list[0]}" d --msgbox $"Locale set to $newlocale.\nTo change to a different one, install glibc-locale and use\n'localectl set-locale LANG=ex_AMPLE.UTF-8'." 8 50 else - d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}" + d --default-item "$default" --menu $"Select system locale" 0 0 $dh_menu "${list[@]}" newlocale="${result}" fi @@ -220,7 +217,7 @@ [ -n "$vconsole_keymap" ] && default="$vconsole_keymap" if findkeymaps \ - && d --default-item "$default" --menu $"Select Keyboard Layout" 0 0 $dh_menu "${list[@]}"; then + && d --default-item "$default" --menu $"Select keyboard layout" 0 0 $dh_menu "${list[@]}"; then if [ -n "$result" ]; then JEOS_KEYTABLE="$result" fi @@ -268,29 +265,27 @@ EULA_FILE=/etc/YaST2/licenses/base/license.txt [ -e "${EULA_FILE}" ] || EULA_FILE=/usr/share/licenses/product/base/license.txt -# Failsafe: If neither a license nor the no-acceptance-needed flag are found, quit. -if ! [ -e "$EULA_FILE" -o -e "${EULA_FILE%/*}/no-acceptance-needed" ]; then +# Failsafe: If no license found, quit. +if ! [ -e "$EULA_FILE" ]; then d --msgbox $"No license found - cannot
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-12-02 11:33:07 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.4691 (New) Package is "jeos-firstboot" Mon Dec 2 11:33:07 2019 rev:30 rq:751396 version:0.0+git20191127.be35ecb Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-10-22 15:38:44.481258253 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.4691/jeos-firstboot.changes 2019-12-02 11:37:53.870455082 +0100 @@ -1,0 +2,8 @@ +Wed Nov 27 15:45:34 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20191127.be35ecb: + * Improve Rpi wireless config, jsc#SLE-10603 + * Disable exit on error during dialog execution + * Clarify comment about localectl list-keymaps + +--- Old: jeos-firstboot-0.0+git20191021.66ccca7.tar.xz New: jeos-firstboot-0.0+git20191127.be35ecb.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.gDSyl5/_old 2019-12-02 11:37:54.286455169 +0100 +++ /var/tmp/diff_new_pack.gDSyl5/_new 2019-12-02 11:37:54.286455169 +0100 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: jeos-firstboot -Version:0.0+git20191021.66ccca7 +Version:0.0+git20191127.be35ecb Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.gDSyl5/_old 2019-12-02 11:37:54.326455178 +0100 +++ /var/tmp/diff_new_pack.gDSyl5/_new 2019-12-02 11:37:54.326455178 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - b24bc3b1b02ba011a5fdc8102fce29d160fa29e7 \ No newline at end of file + 2de210339882818f3bd0183d0baa964d2785ef83 \ No newline at end of file ++ jeos-firstboot-0.0+git20191021.66ccca7.tar.xz -> jeos-firstboot-0.0+git20191127.be35ecb.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20191021.66ccca7/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20191127.be35ecb/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20191021.66ccca7/files/usr/lib/jeos-firstboot 2019-10-21 13:57:43.0 +0200 +++ new/jeos-firstboot-0.0+git20191127.be35ecb/files/usr/lib/jeos-firstboot 2019-11-27 16:45:14.0 +0100 @@ -122,8 +122,11 @@ retval= while true do +# disable exit on error for capturing dialog return codes + set +e dialog --backtitle "$PRETTY_NAME" --output-fd 3 "$@" 3>"${dialog_out}" retval=$? + set -e case $retval in 0) # need || true as dialog doesn't write newlines @@ -163,8 +166,8 @@ [ -n "$list" ] } -# for some reason localectl doesn't work here -#menulist localectl --no-pager list-keymaps +# localectl --no-pager list-keymaps does not list aliases (symlinks), but those are used +# by YaST/langset.sh, so we need to show them. findkeymaps() { list=() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20191021.66ccca7/files/usr/share/jeos-firstboot/raspberrywifi new/jeos-firstboot-0.0+git20191127.be35ecb/files/usr/share/jeos-firstboot/raspberrywifi --- old/jeos-firstboot-0.0+git20191021.66ccca7/files/usr/share/jeos-firstboot/raspberrywifi 2019-10-21 13:57:43.0 +0200 +++ new/jeos-firstboot-0.0+git20191127.be35ecb/files/usr/share/jeos-firstboot/raspberrywifi 2019-11-27 16:45:14.0 +0100 @@ -75,7 +75,7 @@ if [ "${#list[@]}" -eq "2" ]; then wlan_device="${list[0]}" else - d --menu $"Select Wireless card to configure" 0 0 $dh_menu "${list[@]}" + d --menu $"Select wireless card to configure" 0 0 $dh_menu "${list[@]}" wlan_device="${result}" fi @@ -105,15 +105,13 @@ fi if [ "$wlan_auth_mode" != "Open" ]; then wlan_password= - d --insecure --passwordbox $"Password" 0 0 + d --insecure --passwordbox $"Network password" 0 0
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-10-22 15:38:43 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.2352 (New) Package is "jeos-firstboot" Tue Oct 22 15:38:43 2019 rev:29 rq:741494 version:0.0+git20191021.66ccca7 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-08-09 16:49:29.425507910 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.2352/jeos-firstboot.changes 2019-10-22 15:38:44.481258253 +0200 @@ -1,0 +2,18 @@ +Mon Oct 21 12:24:10 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20191021.66ccca7: + * Fix skipping duplicate locale and keyboard layout dialogs (bsc#1154638) + +--- +Fri Oct 11 08:46:57 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20191011.0754638: + * SUSEConnect: do not show the register dialog on non-SLE distributions + +--- +Wed Oct 09 11:46:52 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20191009.5daf1fd: + * Ignore udevadm and modprobe errors for use in containers + +--- Old: jeos-firstboot-0.0+git20190808.4b6ff0b.tar.xz New: jeos-firstboot-0.0+git20191021.66ccca7.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.vQx9fz/_old 2019-10-22 15:38:45.113258973 +0200 +++ /var/tmp/diff_new_pack.vQx9fz/_new 2019-10-22 15:38:45.117258978 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20190808.4b6ff0b +Version:0.0+git20191021.66ccca7 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.vQx9fz/_old 2019-10-22 15:38:45.173259042 +0200 +++ /var/tmp/diff_new_pack.vQx9fz/_new 2019-10-22 15:38:45.173259042 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 618ef849e56ca895f442eecc775f50f961138ba0 \ No newline at end of file + b24bc3b1b02ba011a5fdc8102fce29d160fa29e7 \ No newline at end of file ++ jeos-firstboot-0.0+git20190808.4b6ff0b.tar.xz -> jeos-firstboot-0.0+git20191021.66ccca7.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190808.4b6ff0b/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20191021.66ccca7/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20190808.4b6ff0b/files/usr/lib/jeos-firstboot 2019-08-08 17:20:00.0 +0200 +++ new/jeos-firstboot-0.0+git20191021.66ccca7/files/usr/lib/jeos-firstboot 2019-10-21 13:57:43.0 +0200 @@ -243,6 +243,8 @@ start_kmscon["zh"]=1 start_kmscon["ko"]=1 + # Relay those settings to the nested instance + export JEOS_LOCALE JEOS_KEYTABLE if [ -n "$JEOS_LOCALE" -a -n "${start_kmscon[${language}]+_}" ]; then if kmscon_available; then ret_file="$(mktemp)" @@ -330,7 +332,8 @@ done fi -if [ -x /usr/bin/SUSEConnect ]; then +# Do not show the register on non SLE based distributions +if [ -x /usr/bin/SUSEConnect -a -z "${ID##sle*}" ]; then d --msgbox $"Please register this image using your existing SUSE entitlement. As \"root\" use the following command: @@ -351,8 +354,9 @@ for p in /sys/class/net/* ; do test -f "$p" && continue # skip bonding_masters file - # only devices having ID_NET_NAME.* attrs - udevadm info -q property -p "$p" | grep -qs ID_NET_NAME || continue + # Only devices having ID_NET_NAME.* attrs + # Ignore errors if udev not available + udevadm info -q property -p "$p" 2>/dev/null | grep -qs ID_NET_NAME || continue # But don't touch WLAN interfaces udevadm info -q property -p "$p" | grep -qs "DEVTYPE=wlan" && continue @@ -380,9 +384,10 @@ run 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 -run modprobe efivars +EFI_SYSTAB="/sys/firmware/efi/systab" +# modprobe and efivars are not available everywhere, just ignore those cases +run modprobe efivars &>/dev/null || true if ! [ -f "$EFI_SYSTAB" ]; then if [ -f /etc/sysconfig/bootloader ]; then run sed -i -e "s/LOADER_TYPE=.*/LOADER_TYPE=grub2/g" /etc/sysconfig/bootloader
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-08-09 16:49:22 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.9556 (New) Package is "jeos-firstboot" Fri Aug 9 16:49:22 2019 rev:28 rq:721837 version:0.0+git20190808.4b6ff0b Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-07-28 10:21:46.816572333 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.9556/jeos-firstboot.changes 2019-08-09 16:49:29.425507910 +0200 @@ -1,0 +2,6 @@ +Thu Aug 08 15:20:16 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190808.4b6ff0b: + * Ignore systemd-user-sessions in jeos-firstboot-snapshot.service + +--- Old: jeos-firstboot-0.0+git20190724.7f3b281.tar.xz New: jeos-firstboot-0.0+git20190808.4b6ff0b.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.QUZ4Vy/_old 2019-08-09 16:49:29.877507911 +0200 +++ /var/tmp/diff_new_pack.QUZ4Vy/_new 2019-08-09 16:49:29.881507911 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20190724.7f3b281 +Version:0.0+git20190808.4b6ff0b Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.QUZ4Vy/_old 2019-08-09 16:49:29.909507911 +0200 +++ /var/tmp/diff_new_pack.QUZ4Vy/_new 2019-08-09 16:49:29.909507911 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 7f3b281fcec967516f199188aaa894269b9704db \ No newline at end of file + 618ef849e56ca895f442eecc775f50f961138ba0 \ No newline at end of file ++ jeos-firstboot-0.0+git20190724.7f3b281.tar.xz -> jeos-firstboot-0.0+git20190808.4b6ff0b.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190724.7f3b281/files/usr/lib/systemd/system/jeos-firstboot-snapshot.service new/jeos-firstboot-0.0+git20190808.4b6ff0b/files/usr/lib/systemd/system/jeos-firstboot-snapshot.service --- old/jeos-firstboot-0.0+git20190724.7f3b281/files/usr/lib/systemd/system/jeos-firstboot-snapshot.service 2019-07-24 16:03:28.0 +0200 +++ new/jeos-firstboot-0.0+git20190808.4b6ff0b/files/usr/lib/systemd/system/jeos-firstboot-snapshot.service 2019-08-08 17:20:00.0 +0200 @@ -10,11 +10,11 @@ # The configuration is already done - so this doesn't make much sense #OnFailure=poweroff.target -# jeos-firstboot-snapshot starts between jeos-firstboot and login +# jeos-firstboot-snapshot starts after jeos-firstboot, time got synced +# and dbus became available Wants=time-sync.target -Requires=jeos-firstboot.service +Requires=jeos-firstboot.service dbus.service After=jeos-firstboot.service time-sync.target -Before=systemd-user-sessions.service [Service] Type=oneshot
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-07-28 10:21:45 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.4126 (New) Package is "jeos-firstboot" Sun Jul 28 10:21:45 2019 rev:27 rq:718440 version:0.0+git20190724.7f3b281 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-07-08 15:00:58.610530188 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.4126/jeos-firstboot.changes 2019-07-28 10:21:46.816572333 +0200 @@ -1,0 +2,9 @@ +Wed Jul 24 14:06:09 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190724.7f3b281: + * Set DHCLIENT(6)_SET_HOSTNAME=yes in sysconfig/network/dhcp + * Remove examples dir + * Remove useless rm + * Move snapshot creation into a separate service (bsc#1129730) + +--- Old: jeos-firstboot-0.0+git20190705.e2889c3.tar.xz New: jeos-firstboot-0.0+git20190724.7f3b281.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.0Tlkuk/_old 2019-07-28 10:21:47.324572160 +0200 +++ /var/tmp/diff_new_pack.0Tlkuk/_new 2019-07-28 10:21:47.324572160 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20190705.e2889c3 +Version:0.0+git20190724.7f3b281 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT @@ -67,13 +67,15 @@ %service_add_post jeos-firstboot.service %files -%doc README examples/ifcfg-eth0 +%doc README %license LICENSE %{_unitdir}/jeos-firstboot.service +%{_unitdir}/jeos-firstboot-snapshot.service %dir %{_datadir}/defaults/ %{_datadir}/defaults/jeos-firstboot.conf %dir %{_datadir}/jeos-firstboot %{_libexecdir}/jeos-firstboot +%{_libexecdir}/jeos-firstboot-snapshot %{_libexecdir}/jeos-firstboot-functions %files rpiwifi ++ _servicedata ++ --- /var/tmp/diff_new_pack.0Tlkuk/_old 2019-07-28 10:21:47.368572145 +0200 +++ /var/tmp/diff_new_pack.0Tlkuk/_new 2019-07-28 10:21:47.372572144 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - ee552534f667ea1bc5b176cf99c2fdefebdfd403 \ No newline at end of file + 7f3b281fcec967516f199188aaa894269b9704db \ No newline at end of file ++ jeos-firstboot-0.0+git20190705.e2889c3.tar.xz -> jeos-firstboot-0.0+git20190724.7f3b281.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190705.e2889c3/examples/ifcfg-eth0 new/jeos-firstboot-0.0+git20190724.7f3b281/examples/ifcfg-eth0 --- old/jeos-firstboot-0.0+git20190705.e2889c3/examples/ifcfg-eth0 2019-07-05 14:52:49.0 +0200 +++ new/jeos-firstboot-0.0+git20190724.7f3b281/examples/ifcfg-eth0 1970-01-01 01:00:00.0 +0100 @@ -1,6 +0,0 @@ -BOOTPROTO='dhcp' -MTU='' -REMOTE_IPADDR='' -STARTMODE='auto' -ETHTOOL_OPTIONS='' -USERCONTROL='no' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190705.e2889c3/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20190724.7f3b281/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20190705.e2889c3/files/usr/lib/jeos-firstboot 2019-07-05 14:52:49.0 +0200 +++ new/jeos-firstboot-0.0+git20190724.7f3b281/files/usr/lib/jeos-firstboot 2019-07-24 16:03:28.0 +0200 @@ -365,12 +365,13 @@ # Create a configuration file for each interface that provides # an IPADDR if [ -n "$IPADDR" ]; then - rm -f "/etc/sysconfig/network/ifcfg-$d" || exit 1 printf "STARTMODE=auto\nBOOTPROTO=dhcp\n" \ > "/etc/sysconfig/network/ifcfg-$d" fi done +run sed -i -E 's/^DHCLIENT(6?)_SET_HOSTNAME=.*$/DHCLIENT\1_SET_HOSTNAME=yes/' /etc/sysconfig/network/dhcp + call_module_hook systemd_firstboot d --infobox $"Applying firstboot settings ..." 3 40 || true @@ -394,13 +395,6 @@ # Run snapper to setup quota for btrfs run /usr/bin/snapper --no-dbus setup-quota || warn $"Could not setup quota for btrfs" fi - - if [ ! -e /.snapshots/2 ]; then - run create_snapshot 2 "Initial Status" "yes" || true - fi - if [ -x /usr/lib/snapper/plugins/grub ]; then - run /usr/lib/snapper/plugins/grub --refresh - fi fi call_module_hook post diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190705.e2889c3/files/usr/lib/jeos-firstboot-functions
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-07-08 15:00:57 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.4615 (New) Package is "jeos-firstboot" Mon Jul 8 15:00:57 2019 rev:26 rq:713611 version:0.0+git20190705.e2889c3 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-05-27 08:36:18.127119701 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.4615/jeos-firstboot.changes 2019-07-08 15:00:58.610530188 +0200 @@ -1,0 +2,7 @@ +Fri Jul 05 12:58:45 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190705.e2889c3: + * Don't run jeos-firstboot.service if cloud-init is active (jsc#SLE-7254) + * Do not fail when updating bootloader in no-UEFI + +--- Old: jeos-firstboot-0.0+git20190523.f1f2bfa.tar.xz New: jeos-firstboot-0.0+git20190705.e2889c3.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.OS9MG1/_old 2019-07-08 15:00:59.222531113 +0200 +++ /var/tmp/diff_new_pack.OS9MG1/_new 2019-07-08 15:00:59.230531126 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20190523.f1f2bfa +Version:0.0+git20190705.e2889c3 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.OS9MG1/_old 2019-07-08 15:00:59.306531240 +0200 +++ /var/tmp/diff_new_pack.OS9MG1/_new 2019-07-08 15:00:59.306531240 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 49ee57a359cd177e3dd1fe4d5739d2f87bdbb40a \ No newline at end of file + ee552534f667ea1bc5b176cf99c2fdefebdfd403 \ No newline at end of file ++ jeos-firstboot-0.0+git20190523.f1f2bfa.tar.xz -> jeos-firstboot-0.0+git20190705.e2889c3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190523.f1f2bfa/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20190705.e2889c3/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20190523.f1f2bfa/files/usr/lib/jeos-firstboot 2019-05-23 11:33:19.0 +0200 +++ new/jeos-firstboot-0.0+git20190705.e2889c3/files/usr/lib/jeos-firstboot 2019-07-05 14:52:49.0 +0200 @@ -383,7 +383,9 @@ # Look for EFI dir to see if the machine is booted in UEFI mode run modprobe efivars if ! [ -f "$EFI_SYSTAB" ]; then - run sed -i -e "s/LOADER_TYPE=.*/LOADER_TYPE=grub2/g" /etc/sysconfig/bootloader + if [ -f /etc/sysconfig/bootloader ]; then + run sed -i -e "s/LOADER_TYPE=.*/LOADER_TYPE=grub2/g" /etc/sysconfig/bootloader + fi fi # Test if snapper is available diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190523.f1f2bfa/files/usr/lib/systemd/system/jeos-firstboot.service new/jeos-firstboot-0.0+git20190705.e2889c3/files/usr/lib/systemd/system/jeos-firstboot.service --- old/jeos-firstboot-0.0+git20190523.f1f2bfa/files/usr/lib/systemd/system/jeos-firstboot.service 2019-05-23 11:33:19.0 +0200 +++ new/jeos-firstboot-0.0+git20190705.e2889c3/files/usr/lib/systemd/system/jeos-firstboot.service 2019-07-05 14:52:49.0 +0200 @@ -19,6 +19,10 @@ # jeos-firstboot starts before network and login though Before=network.service systemd-user-sessions.service +# The existence of this file reflects whether cloud-init's systemd-generator enables cloud-init. +# If it does not exist, cloud-init won't run, so it's our turn. +ConditionPathExists=!/run/cloud-init/enabled + [Service] Type=oneshot Environment=SYSTEMCTL_OPTIONS=--ignore-dependencies TERM=linux
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-05-27 08:36:15 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.5148 (New) Package is "jeos-firstboot" Mon May 27 08:36:15 2019 rev:25 rq:704970 version:0.0+git20190523.f1f2bfa Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-04-18 09:56:02.625326916 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.5148/jeos-firstboot.changes 2019-05-27 08:36:18.127119701 +0200 @@ -1,0 +2,28 @@ +Thu May 23 09:33:40 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190523.f1f2bfa: + * Fix broken function call in raspberrywifi, simplify + * Don't overwrite WiFi interface config + * Don't overwrite the cleanup trap + * Fix whitespace + * Don't use "if d", it never returns false + * Skip WiFi interface selection if there's only one + * Ignore setterm -msg failure + * Don't read stderr from dialog, use --output-fd instead + * Clean and fix raspberrywifi + * Fix module hook execution + * Fix warning on startup + * Fix typos/clarify comments in jeos-firstboot.conf + * Remove shebang and empty line in raspberrywifi + +--- +Tue May 21 12:06:23 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190521.23bc1d3: + * is_raspberry: do not show grep errors in non-rpi + * Configure all interfaces that resolves + * Allow to skip certain steps by setting values in a configuration file + * Execute external script(s) on firstboot +- Split module for WiFi configuration into subpackage + +--- Old: jeos-firstboot-0.0+git20190417.7ba1ac9.tar.xz New: jeos-firstboot-0.0+git20190523.f1f2bfa.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.I3BmqG/_old 2019-05-27 08:36:18.547119538 +0200 +++ /var/tmp/diff_new_pack.I3BmqG/_new 2019-05-27 08:36:18.551119536 +0200 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: jeos-firstboot -Version:0.0+git20190417.7ba1ac9 +Version:0.0+git20190523.f1f2bfa Release:0 Summary:Simple text based JeOS first boot wizard License:MIT @@ -34,6 +34,18 @@ Simple text based JeOS first boot wizard that can be used instead of the line based one that is built into systemd. +%package rpiwifi +Summary:jeos-firstboot module for WiFi configuration for RaspberryPi systems +Group: Productivity/Networking/Other +Requires: %{name} = %{version} +Requires: wicked +Requires: wireless-tools +Requires: wpa_supplicant + +%description rpiwifi +This module hooks into jeos-firstboot and allows the user to enter data to connect +his RaspberryPi system to a wireless network. + %prep %setup -q @@ -58,7 +70,13 @@ %doc README examples/ifcfg-eth0 %license LICENSE %{_unitdir}/jeos-firstboot.service +%dir %{_datadir}/defaults/ +%{_datadir}/defaults/jeos-firstboot.conf +%dir %{_datadir}/jeos-firstboot %{_libexecdir}/jeos-firstboot %{_libexecdir}/jeos-firstboot-functions +%files rpiwifi +%{_datadir}/jeos-firstboot/raspberrywifi + %changelog ++ _servicedata ++ --- /var/tmp/diff_new_pack.I3BmqG/_old 2019-05-27 08:36:18.599119518 +0200 +++ /var/tmp/diff_new_pack.I3BmqG/_new 2019-05-27 08:36:18.603119516 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - d96e7ed67002c8221948ec661a9b1e6011e1c264 \ No newline at end of file + 49ee57a359cd177e3dd1fe4d5739d2f87bdbb40a \ No newline at end of file ++ jeos-firstboot-0.0+git20190417.7ba1ac9.tar.xz -> jeos-firstboot-0.0+git20190523.f1f2bfa.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190417.7ba1ac9/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20190523.f1f2bfa/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20190417.7ba1ac9/files/usr/lib/jeos-firstboot 2019-04-17 11:20:39.0 +0200 +++ new/jeos-firstboot-0.0+git20190523.f1f2bfa/files/usr/lib/jeos-firstboot 2019-05-23 11:33:19.0 +0200 @@ -26,50 +26,79 @@ . /etc/os-release . "$0-functions" +# Read the optional configuration file +[ -f /usr/share/defaults/jeos-firstboot.conf ] && . /usr/share/defaults/jeos-firstboot.conf +[ -f
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-04-18 09:56:01 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.17052 (New) Package is "jeos-firstboot" Thu Apr 18 09:56:01 2019 rev:24 rq:695084 version:0.0+git20190417.7ba1ac9 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-03-24 14:56:51.751202942 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.17052/jeos-firstboot.changes 2019-04-18 09:56:02.625326916 +0200 @@ -1,0 +2,12 @@ +Wed Apr 17 09:22:02 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190417.7ba1ac9: + * Only configure snapper quota if no btrfs qgroups exist yet + +--- +Tue Apr 16 15:22:30 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190416.7a667ec: + * reenable console loglevel to the default + +--- Old: jeos-firstboot-0.0+git20190319.e7555da.tar.xz New: jeos-firstboot-0.0+git20190417.7ba1ac9.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.H6Ux0n/_old 2019-04-18 09:56:03.053327186 +0200 +++ /var/tmp/diff_new_pack.H6Ux0n/_new 2019-04-18 09:56:03.057327188 +0200 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: jeos-firstboot -Version:0.0+git20190319.e7555da +Version:0.0+git20190417.7ba1ac9 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.H6Ux0n/_old 2019-04-18 09:56:03.089327208 +0200 +++ /var/tmp/diff_new_pack.H6Ux0n/_new 2019-04-18 09:56:03.089327208 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - e7555daddb18fd6ad1a57bdc3903be6ec5958fe5 \ No newline at end of file + d96e7ed67002c8221948ec661a9b1e6011e1c264 \ No newline at end of file ++ jeos-firstboot-0.0+git20190319.e7555da.tar.xz -> jeos-firstboot-0.0+git20190417.7ba1ac9.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190319.e7555da/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20190417.7ba1ac9/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20190319.e7555da/files/usr/lib/jeos-firstboot 2019-03-19 16:01:45.0 +0100 +++ new/jeos-firstboot-0.0+git20190417.7ba1ac9/files/usr/lib/jeos-firstboot 2019-04-17 11:20:39.0 +0200 @@ -62,8 +62,9 @@ cleanup() { echo .oOo.oOo.oOo. > $dialog_out rm -f "$dialog_out" + # reenable systemd and kernel logs run kill -s SIGRTMAX-10 1 - run setterm -msglevel 4 2>/dev/null + run setterm -msg on } trap cleanup EXIT @@ -467,8 +468,10 @@ # Test if snapper is available if [ -x /usr/bin/snapper ]; then -# Run snapper to setup quota for btrfs -run /usr/bin/snapper --no-dbus setup-quota || warn $"Could not setup quota for btrfs" +if ! btrfs qgroup show / &>/dev/null; then +# Run snapper to setup quota for btrfs +run /usr/bin/snapper --no-dbus setup-quota || warn $"Could not setup quota for btrfs" +fi if [ ! -e /.snapshots/2 ]; then run create_snapshot 2 "Initial Status" "yes" || true
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-03-24 14:56:50 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.25356 (New) Package is "jeos-firstboot" Sun Mar 24 14:56:50 2019 rev:23 rq:686452 version:0.0+git20190319.e7555da Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-03-18 10:34:53.711537528 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.25356/jeos-firstboot.changes 2019-03-24 14:56:51.751202942 +0100 @@ -1,0 +2,9 @@ +Tue Mar 19 15:09:11 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190319.e7555da: + * Use the base symlink for the new location + * Correct if statement coding style + * Remove unneeded comment from new if block + * Test if snapper exists before trying to run it + +--- Old: jeos-firstboot-0.0+git20190315.4a7660d.tar.xz New: jeos-firstboot-0.0+git20190319.e7555da.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.VKOPer/_old 2019-03-24 14:56:52.671202846 +0100 +++ /var/tmp/diff_new_pack.VKOPer/_new 2019-03-24 14:56:52.675202845 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20190315.4a7660d +Version:0.0+git20190319.e7555da Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.VKOPer/_old 2019-03-24 14:56:52.699202842 +0100 +++ /var/tmp/diff_new_pack.VKOPer/_new 2019-03-24 14:56:52.699202842 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - f801d5c048ff6cfe158986ae167dd16f35dbcc18 \ No newline at end of file + e7555daddb18fd6ad1a57bdc3903be6ec5958fe5 \ No newline at end of file ++ jeos-firstboot-0.0+git20190315.4a7660d.tar.xz -> jeos-firstboot-0.0+git20190319.e7555da.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190315.4a7660d/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20190319.e7555da/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20190315.4a7660d/files/usr/lib/jeos-firstboot 2019-03-15 14:55:18.0 +0100 +++ new/jeos-firstboot-0.0+git20190319.e7555da/files/usr/lib/jeos-firstboot 2019-03-19 16:01:45.0 +0100 @@ -235,14 +235,9 @@ fi # Find the location of the EULA -# An EULA in /etc takes precedence (this also works for openSUSE, so no specific code for that) +# An EULA in /etc takes precedence EULA_FILE=/etc/YaST2/licenses/base/license.txt - -if [ ! -e "${EULA_FILE}" ]; then - # SLE moved it to a different non-standard location, which is not directly visible. - # So try to infer it using the baseproduct link. - EULA_FILE="/usr/share/licenses/product/$(basename -s .prod $(readlink /etc/products.d/baseproduct))/license.txt" -fi +[ -e "${EULA_FILE}" ] || EULA_FILE=/usr/share/licenses/product/base/license.txt # Failsafe: If neither a license nor the no-acceptance-needed flag are found, quit. if ! [ -e "$EULA_FILE" -o -e "${EULA_FILE%/*}/no-acceptance-needed" ]; then @@ -470,15 +465,18 @@ run sed -i -e "s/LOADER_TYPE=.*/LOADER_TYPE=grub2/g" /etc/sysconfig/bootloader fi -# Run snapper to setup quota for btrfs -run /usr/bin/snapper --no-dbus setup-quota || warn $"Could not setup quota for btrfs" +# Test if snapper is available +if [ -x /usr/bin/snapper ]; then +# Run snapper to setup quota for btrfs +run /usr/bin/snapper --no-dbus setup-quota || warn $"Could not setup quota for btrfs" -#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/2 ]; then -run create_snapshot 2 "Initial Status" "yes" || true +if [ ! -e /.snapshots/2 ]; then +run create_snapshot 2 "Initial Status" "yes" || true +fi +if [ -x /usr/lib/snapper/plugins/grub ]; then +run /usr/lib/snapper/plugins/grub --refresh +fi fi -run /usr/lib/snapper/plugins/grub --refresh if [ "$config_wireless" = "true" ]; then run ifdown $wlan_device 2>/dev/null || true
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-03-18 10:34:45 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.28833 (New) Package is "jeos-firstboot" Mon Mar 18 10:34:45 2019 rev:22 rq:685378 version:0.0+git20190315.4a7660d Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2019-02-27 15:05:20.522461569 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.28833/jeos-firstboot.changes 2019-03-18 10:34:53.711537528 +0100 @@ -1,0 +2,7 @@ +Fri Mar 15 13:56:27 UTC 2019 - jeos-inter...@suse.de + +- Update to version 0.0+git20190315.4a7660d: + * Support the non-standard and hopefully temporary location for the SLE EULAs +(works around jsc#SLE-3067 and fixes bsc#1127166) + +--- Old: jeos-firstboot-0.0+git20190222.ccc0ad8.tar.xz New: jeos-firstboot-0.0+git20190315.4a7660d.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.G6SsyI/_old 2019-03-18 10:34:54.383537360 +0100 +++ /var/tmp/diff_new_pack.G6SsyI/_new 2019-03-18 10:34:54.387537359 +0100 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: jeos-firstboot -Version:0.0+git20190222.ccc0ad8 +Version:0.0+git20190315.4a7660d Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.G6SsyI/_old 2019-03-18 10:34:54.423537350 +0100 +++ /var/tmp/diff_new_pack.G6SsyI/_new 2019-03-18 10:34:54.427537349 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 64167ba4a4bdc47dae4e9ba0d050a36dae4889af \ No newline at end of file + f801d5c048ff6cfe158986ae167dd16f35dbcc18 \ No newline at end of file ++ jeos-firstboot-0.0+git20190222.ccc0ad8.tar.xz -> jeos-firstboot-0.0+git20190315.4a7660d.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20190222.ccc0ad8/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20190315.4a7660d/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20190222.ccc0ad8/files/usr/lib/jeos-firstboot 2019-02-22 13:27:42.0 +0100 +++ new/jeos-firstboot-0.0+git20190315.4a7660d/files/usr/lib/jeos-firstboot 2019-03-15 14:55:18.0 +0100 @@ -26,8 +26,6 @@ . /etc/os-release . "$0-functions" -EULA_FILE=/etc/YaST2/licenses/base/license.txt - stty_size() { set -- `stty size`; LINES=$1; COLUMNS=$2 # stty size can return zero when not ready or @@ -236,6 +234,22 @@ fi fi +# Find the location of the EULA +# An EULA in /etc takes precedence (this also works for openSUSE, so no specific code for that) +EULA_FILE=/etc/YaST2/licenses/base/license.txt + +if [ ! -e "${EULA_FILE}" ]; then + # SLE moved it to a different non-standard location, which is not directly visible. + # So try to infer it using the baseproduct link. + EULA_FILE="/usr/share/licenses/product/$(basename -s .prod $(readlink /etc/products.d/baseproduct))/license.txt" +fi + +# Failsafe: If neither a license nor the no-acceptance-needed flag are found, quit. +if ! [ -e "$EULA_FILE" -o -e "${EULA_FILE%/*}/no-acceptance-needed" ]; then + d --msgbox $"No license found - cannot continue" 6 40 + exit 1 +fi + if [ -e "$EULA_FILE" -a ! -e "${EULA_FILE%/*}/no-acceptance-needed" ]; then if [ "$force_english_license" = "0" ]; then for i in "${EULA_FILE%.txt}.$locale.txt" \
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2019-02-27 15:05:18 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.28833 (New) Package is "jeos-firstboot" Wed Feb 27 15:05:18 2019 rev:21 rq:678940 version:0.0+git20190222.ccc0ad8 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-12-08 11:22:07.702738455 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.28833/jeos-firstboot.changes 2019-02-27 15:05:20.522461569 +0100 @@ -1,0 +2,15 @@ +Fri Feb 22 12:49:37 UTC 2019 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20190222.ccc0ad8: + * Fix backtitle of license agreement regression + +--- +Wed Feb 13 10:01:36 UTC 2019 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20190213.3c01127: + * Less warnings, fix license decline dialog + * Do not fail on wireless setup + * Avoid systemd output on the screen, bsc#1119382 + * Check wlan adaptor presence, bsc#1122901 + +--- Old: jeos-firstboot-0.0+git20181207.6b889b0.tar.xz New: jeos-firstboot-0.0+git20190222.ccc0ad8.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.uQhHau/_old 2019-02-27 15:05:21.062461411 +0100 +++ /var/tmp/diff_new_pack.uQhHau/_new 2019-02-27 15:05:21.066461409 +0100 @@ -1,7 +1,7 @@ # # spec file for package jeos-firstboot # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20181207.6b889b0 +Version:0.0+git20190222.ccc0ad8 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _service ++ --- /var/tmp/diff_new_pack.uQhHau/_old 2019-02-27 15:05:21.086461404 +0100 +++ /var/tmp/diff_new_pack.uQhHau/_new 2019-02-27 15:05:21.086461404 +0100 @@ -4,6 +4,7 @@ 0.0+git%cd.%h git enable +jeos-inter...@suse.de xz ++ _servicedata ++ --- /var/tmp/diff_new_pack.uQhHau/_old 2019-02-27 15:05:21.102461399 +0100 +++ /var/tmp/diff_new_pack.uQhHau/_new 2019-02-27 15:05:21.106461398 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 6b889b066db172debb6525a070ab95fc0ddff9d1 \ No newline at end of file + 64167ba4a4bdc47dae4e9ba0d050a36dae4889af \ No newline at end of file ++ jeos-firstboot-0.0+git20181207.6b889b0.tar.xz -> jeos-firstboot-0.0+git20190222.ccc0ad8.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20181207.6b889b0/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20190222.ccc0ad8/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20181207.6b889b0/files/usr/lib/jeos-firstboot 2018-12-07 16:38:21.0 +0100 +++ new/jeos-firstboot-0.0+git20190222.ccc0ad8/files/usr/lib/jeos-firstboot 2019-02-22 13:27:42.0 +0100 @@ -73,6 +73,8 @@ run setterm -msg off # Avoid systemd messages spamming our console run kill -s SIGRTMAX-9 1 +# sleep to avoid systemd bug, bsc#1119382 +sleep 1 systemd_firstboot_args=('--setup-machine-id') @@ -98,14 +100,14 @@ return 0 ;; 1) -dialog --yesno $"Do you really want to quit?" 0 0 && exit 0 +dialog --yesno $"Do you really want to quit?" 0 0 && exit 1 continue ;; 255) # xargs to remove whitespaces result_error="$(xargs -a "$dialog_out")" if [ -z "$result_error" ]; then -dialog --yesno $"Do you really want to quit?" 0 0 && exit 0 +dialog --yesno $"Do you really want to quit?" 0 0 && exit 1 continue fi logger -p err -t jeos-firstboot "$result_error" @@ -246,7 +248,7 @@ done fi -while ! d --textbox "$EULA_FILE" $dh_text 85 --and-widget --yesno $"Do you agree with the terms of the license?" 0 0; do +while ! dialog --backtitle "$PRETTY_NAME" --textbox "$EULA_FILE" $dh_text 85 --and-widget --yesno $"Do you agree with the terms of the license?" 0 0; do d --msgbox $"Well, we cannot continue then ..." 6 40 done fi @@ -337,7 +339,7 @@ done config_wireless=false -if is_raspberry; then +if
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-12-08 11:22:06 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.19453 (New) Package is "jeos-firstboot" Sat Dec 8 11:22:06 2018 rev:20 rq:656086 version:0.0+git20181207.6b889b0 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-10-26 11:10:50.617673268 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.19453/jeos-firstboot.changes 2018-12-08 11:22:07.702738455 +0100 @@ -1,0 +2,11 @@ +Fri Dec 07 15:39:02 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20181207.6b889b0: + * Implement review comments + * run wifi config in the end + * Deal with file security for wifi config + * Create confirmation dialog for exiting + * quote comparing variables to avoid errors + * Overall implementation of commands and flow + +--- Old: jeos-firstboot-0.0+git20181025.0848274.tar.xz New: jeos-firstboot-0.0+git20181207.6b889b0.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.8VkfBN/_old 2018-12-08 11:22:08.206737973 +0100 +++ /var/tmp/diff_new_pack.8VkfBN/_new 2018-12-08 11:22:08.206737973 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20181025.0848274 +Version:0.0+git20181207.6b889b0 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.8VkfBN/_old 2018-12-08 11:22:08.238737942 +0100 +++ /var/tmp/diff_new_pack.8VkfBN/_new 2018-12-08 11:22:08.242737938 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - c0551b83c56454ada1e35ad24b9039844a225248 \ No newline at end of file + 6b889b066db172debb6525a070ab95fc0ddff9d1 \ No newline at end of file ++ jeos-firstboot-0.0+git20181025.0848274.tar.xz -> jeos-firstboot-0.0+git20181207.6b889b0.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20181025.0848274/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20181207.6b889b0/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20181025.0848274/files/usr/lib/jeos-firstboot 2018-10-25 15:05:09.0 +0200 +++ new/jeos-firstboot-0.0+git20181207.6b889b0/files/usr/lib/jeos-firstboot 2018-12-07 16:38:21.0 +0100 @@ -86,12 +86,34 @@ let dh_text=LINES-5 d(){ -if dialog --backtitle "$PRETTY_NAME" "$@" 2>"$dialog_out"; then - # need || true as dialog doesn't write newlines - read result < $dialog_out || true -else - return $? -fi +retval= +while true +do +dialog --backtitle "$PRETTY_NAME" "$@" 2>"$dialog_out" +retval=$? +case $retval in + 0) +# need || true as dialog doesn't write newlines +read result < $dialog_out || true +return 0 +;; + 1) +dialog --yesno $"Do you really want to quit?" 0 0 && exit 0 +continue +;; + 255) +# xargs to remove whitespaces +result_error="$(xargs -a "$dialog_out")" +if [ -z "$result_error" ]; then +dialog --yesno $"Do you really want to quit?" 0 0 && exit 0 +continue +fi +logger -p err -t jeos-firstboot "$result_error" +dialog --msgbox $"Exiting due to error, please check the system log" 0 0 +exit 2 +;; +esac +done } warn(){ @@ -285,20 +307,8 @@ security fixes." 0 0 || true fi -d --infobox $"Applying firstboot settings ..." 3 40 || true -# FIXME: systemd-firstboot doesn't set password if shadow present -if [ -n "$password" ]; then -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 -run modprobe efivars -if ! [ -f "$EFI_SYSTAB" ]; then -run sed -i -e "s/LOADER_TYPE=.*/LOADER_TYPE=grub2/g" /etc/sysconfig/bootloader -fi - -# Configure initial network settings +d --infobox $"Collecting network info ..." 3 33 +## Configure initial network settings # shopt -s nullglob @@ -326,14 +336,118 @@ break # one is enough done +config_wireless=false +if is_raspberry; then +if dialog --yesno $"Configure wireless network?" 0 0; then + config_wireless=true +fi +fi +if [ "$config_wireless" = "true" ]; then +# Wi-fi +# +
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-10-26 11:10:43 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Fri Oct 26 11:10:43 2018 rev:19 rq:644669 version:0.0+git20181025.0848274 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-10-15 09:41:18.443491394 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-10-26 11:10:50.617673268 +0200 @@ -1,0 +2,7 @@ +Thu Oct 25 14:03:55 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20181025.0848274: + * Fix setting the locale + * Fix reading the default timezone if /etc/localtime is a relative symlink + +--- Old: jeos-firstboot-0.0+git20181008.086fc72.tar.xz New: jeos-firstboot-0.0+git20181025.0848274.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.pwAr9L/_old 2018-10-26 11:10:52.913670220 +0200 +++ /var/tmp/diff_new_pack.pwAr9L/_new 2018-10-26 11:10:52.913670220 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20181008.086fc72 +Version:0.0+git20181025.0848274 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.pwAr9L/_old 2018-10-26 11:10:52.941670183 +0200 +++ /var/tmp/diff_new_pack.pwAr9L/_new 2018-10-26 11:10:52.941670183 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 7d63e1581cc1804cbf735384d2f44057298abe27 \ No newline at end of file + c0551b83c56454ada1e35ad24b9039844a225248 \ No newline at end of file ++ jeos-firstboot-0.0+git20181008.086fc72.tar.xz -> jeos-firstboot-0.0+git20181025.0848274.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20181008.086fc72/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20181025.0848274/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20181008.086fc72/files/usr/lib/jeos-firstboot 2018-10-08 15:02:18.0 +0200 +++ new/jeos-firstboot-0.0+git20181025.0848274/files/usr/lib/jeos-firstboot 2018-10-25 15:05:09.0 +0200 @@ -138,19 +138,20 @@ [ -f /etc/locale.conf ] && locale_lang="$(awk -F= '$1 == "LANG" { split($2,fs,"."); print fs[1]; exit }' /etc/locale.conf)" [ -n "$locale_lang" ] && default="$locale_lang" -list=() -result="$default" +list=() # Set by findlocales +newlocale="$default" if ! findlocales; then d --msgbox $"No locales found" 0 0 elif [ "${#list[@]}" -eq 2 ]; then -result="${list[0]}" -d --msgbox $"Locale set to $result.\nTo change to a different one, install glibc-locale and use\n'localectl set-locale LANG=ex_AMPLE.UTF-8'." 8 50 +newlocale="${list[0]}" +d --msgbox $"Locale set to $newlocale.\nTo change to a different one, install glibc-locale and use\n'localectl set-locale LANG=ex_AMPLE.UTF-8'." 8 50 else d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}" +newlocale="${result}" fi -if [ -n "$result" ]; then -locale="${result}.UTF-8" +if [ -n "$newlocale" ]; then +locale="${newlocale}.UTF-8" systemd_firstboot_args+=("--locale=$locale") # Run langset to get consolefont and keymap set up @@ -228,7 +229,7 @@ done fi -default="$(readlink /etc/localtime)" +default="$(readlink -f /etc/localtime)" default="${default##/usr/share/zoneinfo/}" # timedatectl doesn't work as dbus is not up yet
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-10-15 09:39:13 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Mon Oct 15 09:39:13 2018 rev:18 rq:641400 version:0.0+git20181008.086fc72 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-08-10 09:52:58.282579209 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-10-15 09:41:18.443491394 +0200 @@ -1,0 +2,7 @@ +Fri Oct 12 07:58:25 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20181008.086fc72: + * Prefix more commands with "run" to allow test runs as non-root + * Only list locales which glibc has information about + +--- Old: jeos-firstboot-0.0+git20180808.85a2c03.tar.xz New: jeos-firstboot-0.0+git20181008.086fc72.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.CgnjhY/_old 2018-10-15 09:41:21.567488532 +0200 +++ /var/tmp/diff_new_pack.CgnjhY/_new 2018-10-15 09:41:21.571488528 +0200 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: jeos-firstboot -Version:0.0+git20180808.85a2c03 +Version:0.0+git20181008.086fc72 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.CgnjhY/_old 2018-10-15 09:41:21.599488502 +0200 +++ /var/tmp/diff_new_pack.CgnjhY/_new 2018-10-15 09:41:21.599488502 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 885e12ec816c55737a75f76a8e8f11ce59a9eae5 \ No newline at end of file + 7d63e1581cc1804cbf735384d2f44057298abe27 \ No newline at end of file ++ jeos-firstboot-0.0+git20180808.85a2c03.tar.xz -> jeos-firstboot-0.0+git20181008.086fc72.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180808.85a2c03/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20181008.086fc72/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180808.85a2c03/files/usr/lib/jeos-firstboot 2018-08-08 12:02:33.0 +0200 +++ new/jeos-firstboot-0.0+git20181008.086fc72/files/usr/lib/jeos-firstboot 2018-10-08 15:02:18.0 +0200 @@ -64,7 +64,7 @@ cleanup() { echo .oOo.oOo.oOo. > $dialog_out rm -f "$dialog_out" - kill -s SIGRTMAX-10 1 + run kill -s SIGRTMAX-10 1 run setterm -msglevel 4 2>/dev/null } trap cleanup EXIT @@ -72,7 +72,7 @@ # avoid kernel messages spamming our console run setterm -msg off # Avoid systemd messages spamming our console -kill -s SIGRTMAX-9 1 +run kill -s SIGRTMAX-9 1 systemd_firstboot_args=('--setup-machine-id') @@ -123,9 +123,12 @@ findlocales() { list=() -local l +local l locale +# List only locales which are both in live-langset-data and glibc-locale(-base) for l in /usr/share/langset/*; do - list+=("${l#/usr/share/langset/}" '') +locale="${l#/usr/share/langset/}" +[ -d "/usr/lib/locale/${locale}.utf8" ] || continue +list+=("${locale}" '') done [ -n "$list" ] } @@ -135,16 +138,23 @@ [ -f /etc/locale.conf ] && locale_lang="$(awk -F= '$1 == "LANG" { split($2,fs,"."); print fs[1]; exit }' /etc/locale.conf)" [ -n "$locale_lang" ] && default="$locale_lang" -if findlocales && d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"; then -if [ -n "$result" ]; then -locale="${result}.UTF-8" -systemd_firstboot_args+=("--locale=$locale") - -# Run langset to get consolefont and keymap set up -run langset.sh $locale || warn $"Setting the locale failed" -fi +list=() +result="$default" +if ! findlocales; then +d --msgbox $"No locales found" 0 0 +elif [ "${#list[@]}" -eq 2 ]; then +result="${list[0]}" +d --msgbox $"Locale set to $result.\nTo change to a different one, install glibc-locale and use\n'localectl set-locale LANG=ex_AMPLE.UTF-8'." 8 50 else -d --msgbox $"Error setting locale" 0 0 +d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}" +fi + +if [ -n "$result"
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-08-10 09:52:49 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Fri Aug 10 09:52:49 2018 rev:17 rq:628413 version:0.0+git20180808.85a2c03 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-08-04 21:54:43.741426314 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-08-10 09:52:58.282579209 +0200 @@ -1,0 +2,6 @@ +Thu Aug 09 12:38:04 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180808.85a2c03: + * Get list of locales from /usr/share/langset/ and remove duplicate "us" keymap + +--- Old: jeos-firstboot-0.0+git20180803.c9090ae.tar.xz New: jeos-firstboot-0.0+git20180808.85a2c03.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.ykuDo7/_old 2018-08-10 09:53:00.126582190 +0200 +++ /var/tmp/diff_new_pack.ykuDo7/_new 2018-08-10 09:53:00.130582196 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180803.c9090ae +Version:0.0+git20180808.85a2c03 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.ykuDo7/_old 2018-08-10 09:53:00.174582267 +0200 +++ /var/tmp/diff_new_pack.ykuDo7/_new 2018-08-10 09:53:00.174582267 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - c9090ae3e128d6c20e9ed4162e3eb9a36d946eac \ No newline at end of file + 885e12ec816c55737a75f76a8e8f11ce59a9eae5 \ No newline at end of file ++ jeos-firstboot-0.0+git20180803.c9090ae.tar.xz -> jeos-firstboot-0.0+git20180808.85a2c03.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180803.c9090ae/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180808.85a2c03/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180803.c9090ae/files/usr/lib/jeos-firstboot 2018-08-03 12:02:50.0 +0200 +++ new/jeos-firstboot-0.0+git20180808.85a2c03/files/usr/lib/jeos-firstboot 2018-08-08 12:02:33.0 +0200 @@ -112,7 +112,7 @@ #menulist localectl --no-pager list-keymaps findkeymaps() { -list=('us' '') +list=() local line while read line; do list+=("${line%.map.gz}" '') @@ -124,9 +124,8 @@ { list=() local l -for l in /usr/lib/locale/*.utf8; do - code=${l#/usr/lib/locale/} - list+=("${code/.utf8/}" '') +for l in /usr/share/langset/*; do + list+=("${l#/usr/share/langset/}" '') done [ -n "$list" ] }
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-08-04 21:54:41 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Sat Aug 4 21:54:41 2018 rev:16 rq:627332 version:0.0+git20180803.c9090ae Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-08-02 15:00:36.580527184 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-08-04 21:54:43.741426314 +0200 @@ -1,0 +2,8 @@ +Fri Aug 03 10:06:44 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180803.c9090ae: + * Remove jeos-add-repos, superseded by the live-add-yast-repos package +- Added dialog as Requires +- Clean spec file and drop unnecessary BuildRequires + +--- Old: jeos-firstboot-0.0+git20180801.e679773.tar.xz New: jeos-firstboot-0.0+git20180803.c9090ae.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.xmdQXl/_old 2018-08-04 21:54:44.989428649 +0200 +++ /var/tmp/diff_new_pack.xmdQXl/_new 2018-08-04 21:54:45.021428708 +0200 @@ -17,27 +17,18 @@ Name: jeos-firstboot -Version:0.0+git20180801.e679773 +Version:0.0+git20180803.c9090ae Release:0 Summary:Simple text based JeOS first boot wizard License:MIT Group: Development/Tools/Other -Url:https://github.com/openSUSE/jeos-firstboot +URL:https://github.com/openSUSE/jeos-firstboot Source0:%{name}-%{version}.tar.xz -BuildRequires: distribution-release -BuildRequires: systemd -BuildRequires: udev -#only needed as directory owners -Requires: distribution-release +BuildRequires: systemd-rpm-macros +Requires: dialog Requires: live-langset-data -Requires: systemd -Requires: udev -%if 0%{?is_opensuse} -# Needed by jeos-add-repos -Requires: libxslt-tools -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%{?systemd_requires} %description Simple text based JeOS first boot wizard that can be used instead @@ -50,10 +41,6 @@ %install cp -a files/* %{buildroot} -%if !0%{?is_opensuse} - # Not needed on SLE - rm %{buildroot}%{_sbindir}/jeos-add-repos -%endif %preun %service_del_preun jeos-firstboot.service @@ -68,14 +55,10 @@ %service_add_post jeos-firstboot.service %files -%defattr(-,root,root) %doc README examples/ifcfg-eth0 %license LICENSE -%{_unitdir} +%{_unitdir}/jeos-firstboot.service %{_libexecdir}/jeos-firstboot %{_libexecdir}/jeos-firstboot-functions -%if 0%{?is_opensuse} -%{_sbindir}/jeos-add-repos -%endif %changelog ++ _servicedata ++ --- /var/tmp/diff_new_pack.xmdQXl/_old 2018-08-04 21:54:45.545429689 +0200 +++ /var/tmp/diff_new_pack.xmdQXl/_new 2018-08-04 21:54:45.565429726 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - e6797737ca47752b5b84a375e25cb4a69ad15ace \ No newline at end of file + c9090ae3e128d6c20e9ed4162e3eb9a36d946eac \ No newline at end of file ++ jeos-firstboot-0.0+git20180801.e679773.tar.xz -> jeos-firstboot-0.0+git20180803.c9090ae.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180801.e679773/files/usr/sbin/jeos-add-repos new/jeos-firstboot-0.0+git20180803.c9090ae/files/usr/sbin/jeos-add-repos --- old/jeos-firstboot-0.0+git20180801.e679773/files/usr/sbin/jeos-add-repos 2018-08-01 15:12:16.0 +0200 +++ new/jeos-firstboot-0.0+git20180803.c9090ae/files/usr/sbin/jeos-add-repos 1970-01-01 01:00:00.0 +0100 @@ -1,50 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2017 SUSE Linux GmbH -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -#
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-08-02 14:59:42 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Thu Aug 2 14:59:42 2018 rev:15 rq:626903 version:0.0+git20180801.e679773 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-06-22 13:36:02.577187254 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-08-02 15:00:36.580527184 +0200 @@ -1,0 +2,13 @@ +Wed Aug 01 13:14:24 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180801.e679773: + * Don't print errors if plymouth is not installed (bsc#1101879) + * Don't switch to the choosen LANG before fbiterm/kmscon is started + * Replace "tty" call with "ps h -o tty" + * Remove kmscon_localed, now part of upstream kmscon + * Fallback to fbiterm if kmscon not available + * Don't start kmscon on serial consoles + * Improve kmscon call + * kmscon integration + +--- Old: jeos-firstboot-0.0+git20180615.258b566.tar.xz New: jeos-firstboot-0.0+git20180801.e679773.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.QUbAR3/_old 2018-08-02 15:00:38.320530128 +0200 +++ /var/tmp/diff_new_pack.QUbAR3/_new 2018-08-02 15:00:38.320530128 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180615.258b566 +Version:0.0+git20180801.e679773 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.QUbAR3/_old 2018-08-02 15:00:38.364530203 +0200 +++ /var/tmp/diff_new_pack.QUbAR3/_new 2018-08-02 15:00:38.368530210 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 3d5d163ddbb89737791dc3e712e15fb7898c871e \ No newline at end of file + e6797737ca47752b5b84a375e25cb4a69ad15ace \ No newline at end of file ++ jeos-firstboot-0.0+git20180615.258b566.tar.xz -> jeos-firstboot-0.0+git20180801.e679773.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180615.258b566/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180801.e679773/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180615.258b566/files/usr/lib/jeos-firstboot 2018-06-15 09:58:44.0 +0200 +++ new/jeos-firstboot-0.0+git20180801.e679773/files/usr/lib/jeos-firstboot 2018-08-01 15:12:16.0 +0200 @@ -65,7 +65,7 @@ echo .oOo.oOo.oOo. > $dialog_out rm -f "$dialog_out" kill -s SIGRTMAX-10 1 - run setterm -msglevel 4 + run setterm -msglevel 4 2>/dev/null } trap cleanup EXIT @@ -131,64 +131,94 @@ [ -n "$list" ] } -default="en_US" -[ -f /etc/locale.conf ] && locale_lang="$(awk -F= '$1 == "LANG" { split($2,fs,"."); print fs[1]; exit }' /etc/locale.conf)" -[ -n "$locale_lang" ] && default="$locale_lang" - -if findlocales && d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"; then - if [ -n "$result" ]; then - locale="${result}.UTF-8" - systemd_firstboot_args+=("--locale=$locale") - LANG="$locale" - export LANG - -# Run langset to get consolefont and keymap set up -run langset.sh $locale || warn $"Setting the locale failed" - fi +if [ -z "$LOCALE_PRESET" ]; then +default="en_US" +[ -f /etc/locale.conf ] && locale_lang="$(awk -F= '$1 == "LANG" { split($2,fs,"."); print fs[1]; exit }' /etc/locale.conf)" +[ -n "$locale_lang" ] && default="$locale_lang" + +if findlocales && d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"; then +if [ -n "$result" ]; then +locale="${result}.UTF-8" +systemd_firstboot_args+=("--locale=$locale") + +# Run langset to get consolefont and keymap set up +run langset.sh $locale || warn $"Setting the locale failed" +fi +else +d --msgbox $"Error setting locale" 0 0 +fi else - d --msgbox $"Error setting locale" 0 0 +locale="$LOCALE_PRESET" +systemd_firstboot_args+=("--locale=$locale") fi -if [ -e "$EULA_FILE" -a ! -e "${EULA_FILE%/*}/no-acceptance-needed" ]; then -[ -n "${locale}" ] && language="${locale%%_*}" || language="en" +if [ -z "$KEYTABLE_PRESET" ]; then +default="us" +[ -f /etc/vconsole.conf ] && vconsole_keymap="$(awk -F= '$1 ==
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-06-22 13:36:00 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Fri Jun 22 13:36:00 2018 rev:14 rq:618346 version:0.0+git20180615.258b566 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-05-25 21:39:55.118311925 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-06-22 13:36:02.577187254 +0200 @@ -1,0 +2,8 @@ +Fri Jun 15 08:38:37 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180615.258b566: + * make jeos-firstboot.service closer to YaST2-Firstboot.service + * Use own canary file instead of ConditionFirstBoot to allow reconfiguration (bsc#1097630) + * Use live-langset-data to setup locale settings during runtime (bsc#1096556) + +--- Old: jeos-firstboot-0.0+git20180525.280836a.tar.xz New: jeos-firstboot-0.0+git20180615.258b566.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.7BaUjA/_old 2018-06-22 13:36:03.645147774 +0200 +++ /var/tmp/diff_new_pack.7BaUjA/_new 2018-06-22 13:36:03.649147626 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180525.280836a +Version:0.0+git20180615.258b566 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT @@ -29,6 +29,7 @@ BuildRequires: udev #only needed as directory owners Requires: distribution-release +Requires: live-langset-data Requires: systemd Requires: udev %if 0%{?is_opensuse} ++ _servicedata ++ --- /var/tmp/diff_new_pack.7BaUjA/_old 2018-06-22 13:36:03.693146000 +0200 +++ /var/tmp/diff_new_pack.7BaUjA/_new 2018-06-22 13:36:03.693146000 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 280836ac14732c09f83084e073b77684ca3254e0 + 3d5d163ddbb89737791dc3e712e15fb7898c871e \ No newline at end of file ++ jeos-firstboot-0.0+git20180525.280836a.tar.xz -> jeos-firstboot-0.0+git20180615.258b566.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180525.280836a/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180615.258b566/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180525.280836a/files/usr/lib/jeos-firstboot 2018-05-25 15:25:11.0 +0200 +++ new/jeos-firstboot-0.0+git20180615.258b566/files/usr/lib/jeos-firstboot 2018-06-15 09:58:44.0 +0200 @@ -82,16 +82,6 @@ locale='' password='' -# Console fonts mapping to locales -# this need to be reworked, check bsc#1094346 -declare -A consolefonts -consolefonts["el_GR.UTF-8"]="iso07u-16.psfu" -consolefonts["ru_RU.UTF-8"]="UniCyr_8x16.psf" -consolefonts["sr_RS.UTF-8"]="UniCyr_8x16.psf" -consolefonts["uk_UA.UTF-8"]="UniCyr_8x16.psf" -consolefonts["tg_TJ.UTF-8"]="UniCyr_8x16.psf" -consolefonts["bg_BG.UTF-8"]="UniCyr_8x16.psf" - let dh_menu=LINES-15 let dh_text=LINES-5 @@ -104,6 +94,10 @@ fi } +warn(){ +d --title $"Warning" --msgbox "$1" 6 40 +} + menulist() { list=() @@ -137,17 +131,19 @@ [ -n "$list" ] } -if findlocales && d --default-item "en_US" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"; then +default="en_US" +[ -f /etc/locale.conf ] && locale_lang="$(awk -F= '$1 == "LANG" { split($2,fs,"."); print fs[1]; exit }' /etc/locale.conf)" +[ -n "$locale_lang" ] && default="$locale_lang" + +if findlocales && d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"; then if [ -n "$result" ]; then locale="${result}.UTF-8" systemd_firstboot_args+=("--locale=$locale") LANG="$locale" export LANG -if [ ${consolefonts[$locale]+_} ]; then -run sed -i -e "s/^FONT=.*/FONT=${consolefonts[$locale]}/" /etc/vconsole.conf -run sed -i -e "s/^CONSOLE_FONT=.*/CONSOLE_FONT=i\"${consolefonts[$locale]}\"/" /etc/vconsole.conf -run /usr/lib/systemd/systemd-vconsole-setup || true # true for nspawn -fi + +# Run langset to get consolefont and keymap set up +run langset.sh $locale || warn $"Setting the locale failed" fi else d --msgbox $"Error setting locale" 0 0 @@ -177,21 +173,31 @@ done fi +default="us" +[ -f /etc/vconsole.conf ] && vconsole_keymap="$(awk -F= '$1 == "KEYMAP" { split($2,fs,"."); print fs[1]; exit }'
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-05-25 21:39:49 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Fri May 25 21:39:49 2018 rev:13 rq:612262 version:0.0+git20180525.280836a Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-05-16 18:44:52.504178720 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-05-25 21:39:55.118311925 +0200 @@ -1,0 +2,8 @@ +Fri May 25 13:27:36 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180525.280836a: + * Rework locale selection + * Map console fonts for non-latin locale,bsc#1094346 + * Also check for license filenames with the locale's UTF-8 suffix stripped + +--- Old: jeos-firstboot-0.0+git20180516.d5031a7.tar.xz New: jeos-firstboot-0.0+git20180525.280836a.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.zqEgnJ/_old 2018-05-25 21:39:56.002279919 +0200 +++ /var/tmp/diff_new_pack.zqEgnJ/_new 2018-05-25 21:39:56.006279773 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180516.d5031a7 +Version:0.0+git20180525.280836a Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.zqEgnJ/_old 2018-05-25 21:39:56.054278036 +0200 +++ /var/tmp/diff_new_pack.zqEgnJ/_new 2018-05-25 21:39:56.054278036 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 252c30ea5e17c0ec033cb0f998165e2294428aec + 280836ac14732c09f83084e073b77684ca3254e0 ++ jeos-firstboot-0.0+git20180516.d5031a7.tar.xz -> jeos-firstboot-0.0+git20180525.280836a.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180516.d5031a7/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180525.280836a/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180516.d5031a7/files/usr/lib/jeos-firstboot 2018-05-16 11:35:50.0 +0200 +++ new/jeos-firstboot-0.0+git20180525.280836a/files/usr/lib/jeos-firstboot 2018-05-25 15:25:11.0 +0200 @@ -82,6 +82,16 @@ locale='' password='' +# Console fonts mapping to locales +# this need to be reworked, check bsc#1094346 +declare -A consolefonts +consolefonts["el_GR.UTF-8"]="iso07u-16.psfu" +consolefonts["ru_RU.UTF-8"]="UniCyr_8x16.psf" +consolefonts["sr_RS.UTF-8"]="UniCyr_8x16.psf" +consolefonts["uk_UA.UTF-8"]="UniCyr_8x16.psf" +consolefonts["tg_TJ.UTF-8"]="UniCyr_8x16.psf" +consolefonts["bg_BG.UTF-8"]="UniCyr_8x16.psf" + let dh_menu=LINES-15 let dh_text=LINES-5 @@ -118,28 +128,44 @@ findlocales() { -list=('en_US' '') +list=() local l -for l in /usr/lib/locale/*_??; do - list+=("${l#/usr/lib/locale/}" '') +for l in /usr/lib/locale/*.utf8; do + code=${l#/usr/lib/locale/} + list+=("${code/.utf8/}" '') done [ -n "$list" ] } -if findlocales && d --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"; then +if findlocales && d --default-item "en_US" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"; then if [ -n "$result" ]; then - locale="$result.UTF-8" + locale="${result}.UTF-8" systemd_firstboot_args+=("--locale=$locale") LANG="$locale" export LANG +if [ ${consolefonts[$locale]+_} ]; then +run sed -i -e "s/^FONT=.*/FONT=${consolefonts[$locale]}/" /etc/vconsole.conf +run sed -i -e "s/^CONSOLE_FONT=.*/CONSOLE_FONT=i\"${consolefonts[$locale]}\"/" /etc/vconsole.conf +run /usr/lib/systemd/systemd-vconsole-setup || true # true for nspawn +fi fi else d --msgbox $"Error setting locale" 0 0 fi if [ -e "$EULA_FILE" -a ! -e "${EULA_FILE%/*}/no-acceptance-needed" ]; then -if [ -n "$locale" ]; then - for i in "${EULA_FILE%.txt}.$locale.txt" "${EULA_FILE%.txt}.${locale%%_*}.txt"; do +[ -n "${locale}" ] && language="${locale%%_*}" || language="en" + +# Those languages can't be displayed in the console +declare -A use_english_license +use_english_license["ja"]=1 +use_english_license["zh"]=1 +use_english_license["ko"]=1 + +if [ -n "$locale" -a -z "${use_english_license[${language}]+_}" ]; then + for i in "${EULA_FILE%.txt}.$locale.txt" \ +"${EULA_FILE%.txt}.${locale%%.UTF-8}.txt" \ +
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-05-16 18:43:25 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Wed May 16 18:43:25 2018 rev:12 rq:609097 version:0.0+git20180516.d5031a7 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-04-26 13:39:04.245794355 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-05-16 18:44:52.504178720 +0200 @@ -1,0 +2,6 @@ +Wed May 16 09:38:57 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180516.d5031a7: + * Run sevice before systemd-tmpfiles, bsc#1092132 + +--- Old: jeos-firstboot-0.0+git20180425.76e5ff7.tar.xz New: jeos-firstboot-0.0+git20180516.d5031a7.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.EveINL/_old 2018-05-16 18:44:52.968161953 +0200 +++ /var/tmp/diff_new_pack.EveINL/_new 2018-05-16 18:44:52.972161808 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180425.76e5ff7 +Version:0.0+git20180516.d5031a7 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.EveINL/_old 2018-05-16 18:44:53.020160074 +0200 +++ /var/tmp/diff_new_pack.EveINL/_new 2018-05-16 18:44:53.024159929 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 0d4055f5ed4b12b63871fc397b4c8274e77321c7 \ No newline at end of file + 252c30ea5e17c0ec033cb0f998165e2294428aec ++ jeos-firstboot-0.0+git20180425.76e5ff7.tar.xz -> jeos-firstboot-0.0+git20180516.d5031a7.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180425.76e5ff7/files/usr/lib/systemd/system/jeos-firstboot.service new/jeos-firstboot-0.0+git20180516.d5031a7/files/usr/lib/systemd/system/jeos-firstboot.service --- old/jeos-firstboot-0.0+git20180425.76e5ff7/files/usr/lib/systemd/system/jeos-firstboot.service 2018-04-25 18:47:59.0 +0200 +++ new/jeos-firstboot-0.0+git20180516.d5031a7/files/usr/lib/systemd/system/jeos-firstboot.service 2018-05-16 11:35:50.0 +0200 @@ -10,7 +10,7 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-remount-fs.service -Before=sysinit.target shutdown.target +Before=systemd-tmpfiles-setup.service sysinit.target shutdown.target ConditionPathIsReadWrite=/etc RequiresMountsFor=/.snapshots ConditionFirstBoot=yes
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-04-26 13:39:02 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Thu Apr 26 13:39:02 2018 rev:11 rq:601132 version:0.0+git20180425.76e5ff7 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-04-06 17:52:23.721309142 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-04-26 13:39:04.245794355 +0200 @@ -1,0 +2,6 @@ +Thu Apr 26 08:51:05 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180425.76e5ff7: + * Turn off systemd status output while jeos-firstboot is running + +--- Old: jeos-firstboot-0.0+git20180406.e01f473.tar.xz New: jeos-firstboot-0.0+git20180425.76e5ff7.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.v4pEGf/_old 2018-04-26 13:39:04.725776761 +0200 +++ /var/tmp/diff_new_pack.v4pEGf/_new 2018-04-26 13:39:04.725776761 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180406.e01f473 +Version:0.0+git20180425.76e5ff7 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.v4pEGf/_old 2018-04-26 13:39:04.769775149 +0200 +++ /var/tmp/diff_new_pack.v4pEGf/_new 2018-04-26 13:39:04.773775002 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 725793d84940a7573080e58977b763d63619e9f1 \ No newline at end of file + 0d4055f5ed4b12b63871fc397b4c8274e77321c7 \ No newline at end of file ++ jeos-firstboot-0.0+git20180406.e01f473.tar.xz -> jeos-firstboot-0.0+git20180425.76e5ff7.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180406.e01f473/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180425.76e5ff7/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180406.e01f473/files/usr/lib/jeos-firstboot 2018-04-06 11:30:27.0 +0200 +++ new/jeos-firstboot-0.0+git20180425.76e5ff7/files/usr/lib/jeos-firstboot 2018-04-25 18:47:59.0 +0200 @@ -64,12 +64,15 @@ cleanup() { echo .oOo.oOo.oOo. > $dialog_out rm -f "$dialog_out" + kill -s SIGRTMAX-10 1 run setterm -msglevel 4 } trap cleanup EXIT # avoid kernel messages spamming our console run setterm -msg off +# Avoid systemd messages spamming our console +kill -s SIGRTMAX-9 1 systemd_firstboot_args=('--setup-machine-id')
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-04-06 17:50:11 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Fri Apr 6 17:50:11 2018 rev:10 rq:593945 version:0.0+git20180406.e01f473 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-03-14 19:39:55.879297914 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-04-06 17:52:23.721309142 +0200 @@ -1,0 +2,6 @@ +Fri Apr 06 09:30:49 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180406.e01f473: + * Setup quota for btrfs, fix bsc#1087079 + +--- Old: jeos-firstboot-0.0+git20180313.313b2ea.tar.xz New: jeos-firstboot-0.0+git20180406.e01f473.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.pacmiT/_old 2018-04-06 17:52:24.461282388 +0200 +++ /var/tmp/diff_new_pack.pacmiT/_new 2018-04-06 17:52:24.465282243 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180313.313b2ea +Version:0.0+git20180406.e01f473 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.pacmiT/_old 2018-04-06 17:52:24.509280653 +0200 +++ /var/tmp/diff_new_pack.pacmiT/_new 2018-04-06 17:52:24.509280653 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - f21da31f6cc10e3dd6d2afcedad555966f7b2b54 \ No newline at end of file + 725793d84940a7573080e58977b763d63619e9f1 \ No newline at end of file ++ jeos-firstboot-0.0+git20180313.313b2ea.tar.xz -> jeos-firstboot-0.0+git20180406.e01f473.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180313.313b2ea/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180406.e01f473/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180313.313b2ea/files/usr/lib/jeos-firstboot 2018-03-13 09:23:58.0 +0100 +++ new/jeos-firstboot-0.0+git20180406.e01f473/files/usr/lib/jeos-firstboot 2018-04-06 11:30:27.0 +0200 @@ -261,6 +261,9 @@ break # one is enough done +# Run snapper to setup quota for btrfs +/usr/bin/snapper --no-dbus setup-quota + #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/2 ]; then
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-03-14 19:39:32 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Wed Mar 14 19:39:32 2018 rev:9 rq:586253 version:0.0+git20180313.313b2ea Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-01-13 21:47:50.629525635 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-03-14 19:39:55.879297914 +0100 @@ -1,0 +2,7 @@ +Tue Mar 13 08:25:16 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180313.313b2ea: + * Remove dracut initrd regeneration, bsc#1084161 + * Remove obsolete kiwi hook, bsc#1084160 + +--- Old: jeos-firstboot-0.0+git20180111.c39e31f.tar.xz New: jeos-firstboot-0.0+git20180313.313b2ea.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.OjiABr/_old 2018-03-14 19:39:56.763266515 +0100 +++ /var/tmp/diff_new_pack.OjiABr/_new 2018-03-14 19:39:56.767266373 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20180111.c39e31f +Version:0.0+git20180313.313b2ea Release:0 Summary:Simple text based JeOS first boot wizard License:MIT @@ -76,6 +76,5 @@ %if 0%{?is_opensuse} %{_sbindir}/jeos-add-repos %endif -/lib/kiwi %changelog ++ _servicedata ++ --- /var/tmp/diff_new_pack.OjiABr/_old 2018-03-14 19:39:56.819264526 +0100 +++ /var/tmp/diff_new_pack.OjiABr/_new 2018-03-14 19:39:56.819264526 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - f360f953c682534290fa092d7af265c52da4c432 \ No newline at end of file + f21da31f6cc10e3dd6d2afcedad555966f7b2b54 \ No newline at end of file ++ jeos-firstboot-0.0+git20180111.c39e31f.tar.xz -> jeos-firstboot-0.0+git20180313.313b2ea.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180111.c39e31f/files/lib/kiwi/hooks/preCallInit.sh new/jeos-firstboot-0.0+git20180313.313b2ea/files/lib/kiwi/hooks/preCallInit.sh --- old/jeos-firstboot-0.0+git20180111.c39e31f/files/lib/kiwi/hooks/preCallInit.sh 2018-01-11 12:16:56.0 +0100 +++ new/jeos-firstboot-0.0+git20180313.313b2ea/files/lib/kiwi/hooks/preCallInit.sh 1970-01-01 01:00:00.0 +0100 @@ -1,33 +0,0 @@ -#!/bin/bash - -set -x -. /usr/lib/jeos-firstboot-functions -rootfs="`stat -f -c %T /`" -if [ "$rootfs" = 'btrfs' ]; then - echo "creating initial snapper config ..." - # we can't call snapper here as the .snapshots subvolume - # already exists and snapper create-config doens't like - # that. - cp /etc/snapper/config-templates/default /etc/snapper/configs/root - # Change configuration to match SLES12-SP1 values - sed -i -e '/^TIMELINE_CREATE=/s/yes/no/' /etc/snapper/configs/root - sed -i -e '/^NUMBER_LIMIT=/s/50/10/' /etc/snapper/configs/root - - sed -i -e '/^SNAPPER_CONFIGS=/s/"/"root/' /etc/sysconfig/snapper - mount .snapshots - retrofit_snapper_info 1 "first root filesystem" - create_snapshot 2 "Intermediate status" -fi - -# Disable CoW on subvolumes -chattr +C /var/lib/mysql -chattr +C /var/lib/mariadb -chattr +C /var/lib/pgsql -chattr +C /var/lib/libvirt/images - -# Add repositories on opensuse -# (jeos-add-repos is not installed on SLE) -if hash jeos-add-repos 2>/dev/null; then - echo "Adding repositories ..." - jeos-add-repos -fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20180111.c39e31f/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180313.313b2ea/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20180111.c39e31f/files/usr/lib/jeos-firstboot 2018-01-11 12:16:56.0 +0100 +++ new/jeos-firstboot-0.0+git20180313.313b2ea/files/usr/lib/jeos-firstboot 2018-03-13 09:23:58.0 +0100 @@ -261,11 +261,6 @@ break # one is enough done -# Run dracut to generate an optimized initrd -# the image originally carries an generic initrd generated by kiwi -echo "Optimizing initrd image" -dracut -q --force - #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/2 ]; then
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-01-13 21:47:49 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Sat Jan 13 21:47:49 2018 rev:8 rq:563566 version:0.0+git20180111.c39e31f Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2017-11-27 22:16:15.855310194 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-01-13 21:47:50.629525635 +0100 @@ -1,0 +2,6 @@ +Thu Jan 11 11:20:46 UTC 2018 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20180111.c39e31f: + * append to vconsole.conf instead of overwriting + +--- Old: jeos-firstboot-0.0+git20171124.eead2bd.tar.xz New: jeos-firstboot-0.0+git20180111.c39e31f.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.RXEsC6/_old 2018-01-13 21:47:51.313493748 +0100 +++ /var/tmp/diff_new_pack.RXEsC6/_new 2018-01-13 21:47:51.337492629 +0100 @@ -1,7 +1,7 @@ # # spec file for package jeos-firstboot # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20171124.eead2bd +Version:0.0+git20180111.c39e31f Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.RXEsC6/_old 2018-01-13 21:47:51.413489086 +0100 +++ /var/tmp/diff_new_pack.RXEsC6/_new 2018-01-13 21:47:51.413489086 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 34963353f0f013153e1135f4775f3de9ff74f141 \ No newline at end of file + f360f953c682534290fa092d7af265c52da4c432 \ No newline at end of file ++ jeos-firstboot-0.0+git20171124.eead2bd.tar.xz -> jeos-firstboot-0.0+git20180111.c39e31f.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20171124.eead2bd/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20180111.c39e31f/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20171124.eead2bd/files/usr/lib/jeos-firstboot 2017-11-24 17:50:48.0 +0100 +++ new/jeos-firstboot-0.0+git20180111.c39e31f/files/usr/lib/jeos-firstboot 2018-01-11 12:16:56.0 +0100 @@ -173,7 +173,7 @@ # we need to adjust the keyboard and locale before the password is typed, in # case umlauts are used if [ -n "$keytable" ]; then -echo "KEYMAP=$keytable" | run tee /etc/vconsole.conf +echo "KEYMAP=$keytable" | run tee -a /etc/vconsole.conf run sed -i -e "s/^KEYTABLE=.*/KEYTABLE=\"$keytable\"/" /etc/sysconfig/keyboard fi # FIXME: systemd sets /etc/locale.conf which is ignored
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2017-11-27 22:16:14 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Mon Nov 27 22:16:14 2017 rev:7 rq:545297 version:0.0+git20171124.eead2bd Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2017-11-14 12:58:12.948768594 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2017-11-27 22:16:15.855310194 +0100 @@ -1,0 +2,6 @@ +Fri Nov 24 16:51:46 UTC 2017 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20171124.eead2bd: + * Change default values for ifcfg files bsc#1069782 + +--- Old: jeos-firstboot-0.0+git20171113.02e973c.tar.xz New: jeos-firstboot-0.0+git20171124.eead2bd.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.gNBOzh/_old 2017-11-27 22:16:16.471287834 +0100 +++ /var/tmp/diff_new_pack.gNBOzh/_new 2017-11-27 22:16:16.475287690 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20171113.02e973c +Version:0.0+git20171124.eead2bd Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.gNBOzh/_old 2017-11-27 22:16:16.527285801 +0100 +++ /var/tmp/diff_new_pack.gNBOzh/_new 2017-11-27 22:16:16.531285657 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 0c7f1f3f022c6dbac131fc280d00f5d35a748bdf \ No newline at end of file + 34963353f0f013153e1135f4775f3de9ff74f141 \ No newline at end of file ++ jeos-firstboot-0.0+git20171113.02e973c.tar.xz -> jeos-firstboot-0.0+git20171124.eead2bd.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20171113.02e973c/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20171124.eead2bd/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20171113.02e973c/files/usr/lib/jeos-firstboot 2017-11-13 12:56:12.0 +0100 +++ new/jeos-firstboot-0.0+git20171124.eead2bd/files/usr/lib/jeos-firstboot 2017-11-24 17:50:48.0 +0100 @@ -256,7 +256,7 @@ for d in ${candidates[@]} ; do rm -f "/etc/sysconfig/network/ifcfg-$d" || exit 1 -printf "STARTMODE=hotplug\nBOOTPROTO=dhcp\nDHCLIENT_SET_HOSTNAME=yes\n" \ +printf "STARTMODE=auto\nBOOTPROTO=dhcp\n" \ > "/etc/sysconfig/network/ifcfg-$d" break # one is enough done
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2017-11-14 12:58:06 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Tue Nov 14 12:58:06 2017 rev:6 rq:541283 version:0.0+git20171113.02e973c Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2017-10-26 18:44:46.686847947 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2017-11-14 12:58:12.948768594 +0100 @@ -1,0 +2,7 @@ +Mon Nov 13 11:57:37 UTC 2017 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20171113.02e973c: + * change initial snapshot number to 2 + * Run dracut before initial snapshot + +--- Old: jeos-firstboot-0.0+git20171024.4c4ec65.tar.xz New: jeos-firstboot-0.0+git20171113.02e973c.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.2txOVh/_old 2017-11-14 12:58:13.564746071 +0100 +++ /var/tmp/diff_new_pack.2txOVh/_new 2017-11-14 12:58:13.564746071 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20171024.4c4ec65 +Version:0.0+git20171113.02e973c Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.2txOVh/_old 2017-11-14 12:58:13.600744755 +0100 +++ /var/tmp/diff_new_pack.2txOVh/_new 2017-11-14 12:58:13.600744755 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 1feb4144d60f8b9e2c509b2cffb09371a97fad36 \ No newline at end of file + 0c7f1f3f022c6dbac131fc280d00f5d35a748bdf \ No newline at end of file ++ jeos-firstboot-0.0+git20171024.4c4ec65.tar.xz -> jeos-firstboot-0.0+git20171113.02e973c.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20171024.4c4ec65/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20171113.02e973c/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20171024.4c4ec65/files/usr/lib/jeos-firstboot 2017-10-24 13:01:25.0 +0200 +++ new/jeos-firstboot-0.0+git20171113.02e973c/files/usr/lib/jeos-firstboot 2017-11-13 12:56:12.0 +0100 @@ -261,10 +261,15 @@ break # one is enough done +# Run dracut to generate an optimized initrd +# the image originally carries an generic initrd generated by kiwi +echo "Optimizing initrd image" +dracut -q --force + #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 -run create_snapshot 3 "Initial Status" "yes" || true +if [ ! -e /.snapshots/2 ]; then +run create_snapshot 2 "Initial Status" "yes" || true fi /usr/lib/snapper/plugins/grub --refresh
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2017-10-26 18:44:45 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Thu Oct 26 18:44:45 2017 rev:5 rq:536589 version:0.0+git20171024.4c4ec65 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2017-07-06 00:03:52.046343844 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2017-10-26 18:44:46.686847947 +0200 @@ -1,0 +2,7 @@ +Wed Oct 25 16:03:33 UTC 2017 - opensuse-packag...@opensuse.org + +- Update to version 0.0+git20171024.4c4ec65: + * Add require for snapshots mount point + * Initial network configuration fixes bsc#1061829 + +--- Old: jeos-firstboot-0.0+git20170629.77ff28f.tar.xz New: jeos-firstboot-0.0+git20171024.4c4ec65.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.SjBddO/_old 2017-10-26 18:44:47.322818265 +0200 +++ /var/tmp/diff_new_pack.SjBddO/_new 2017-10-26 18:44:47.326818078 +0200 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20170629.77ff28f +Version:0.0+git20171024.4c4ec65 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.SjBddO/_old 2017-10-26 18:44:47.366816212 +0200 +++ /var/tmp/diff_new_pack.SjBddO/_new 2017-10-26 18:44:47.366816212 +0200 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 5fb1430c7ca504551b2c7bd4fa7825dc9ea73bfe \ No newline at end of file + 1feb4144d60f8b9e2c509b2cffb09371a97fad36 \ No newline at end of file ++ jeos-firstboot-0.0+git20170629.77ff28f.tar.xz -> jeos-firstboot-0.0+git20171024.4c4ec65.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20170629.77ff28f/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20171024.4c4ec65/files/usr/lib/jeos-firstboot --- old/jeos-firstboot-0.0+git20170629.77ff28f/files/usr/lib/jeos-firstboot 2017-06-29 13:55:41.0 +0200 +++ new/jeos-firstboot-0.0+git20171024.4c4ec65/files/usr/lib/jeos-firstboot 2017-10-24 13:01:25.0 +0200 @@ -233,6 +233,34 @@ run sed -i -e "s/LOADER_TYPE=.*/LOADER_TYPE=grub2/g" /etc/sysconfig/bootloader fi +# Configure initial network settings +# +shopt -s nullglob + +candidates=() +for p in /sys/class/net/* ; do +test -f "$p" && continue # skip bonding_masters file + +# only devices having ID_NET_NAME.* attrs +udevadm info -q all -p "$p" | grep -qs ID_NET_NAME || continue +d=${p##*/} + +unset IPADDR GATEWAYS +eval `wicked test dhcp4 "$d" 2>/dev/null | grep -E "^IPADDR=|^GATEWAYS="` +ip link set down "$d" # set link down after probe once done + +test -n "$IPADDR" && candidates+=("$d") || continue # ok, track it +test -n "$GATEWAYS" && candidates=("$d") || continue # just use it +break +done + +for d in ${candidates[@]} ; do +rm -f "/etc/sysconfig/network/ifcfg-$d" || exit 1 +printf "STARTMODE=hotplug\nBOOTPROTO=dhcp\nDHCLIENT_SET_HOSTNAME=yes\n" \ +> "/etc/sysconfig/network/ifcfg-$d" +break # one is enough +done + #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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20170629.77ff28f/files/usr/lib/systemd/system/jeos-firstboot.service new/jeos-firstboot-0.0+git20171024.4c4ec65/files/usr/lib/systemd/system/jeos-firstboot.service --- old/jeos-firstboot-0.0+git20170629.77ff28f/files/usr/lib/systemd/system/jeos-firstboot.service 2017-06-29 13:55:41.0 +0200 +++ new/jeos-firstboot-0.0+git20171024.4c4ec65/files/usr/lib/systemd/system/jeos-firstboot.service 2017-10-24 13:01:25.0 +0200 @@ -10,8 +10,9 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-remount-fs.service -Before=systemd-sysusers.service sysinit.target shutdown.target +Before=sysinit.target shutdown.target ConditionPathIsReadWrite=/etc +RequiresMountsFor=/.snapshots ConditionFirstBoot=yes [Service]
commit jeos-firstboot for openSUSE:Factory
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 - lnus...@suse.de + +- 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 @@ git://github.com/openSUSE/jeos-firstboot.git - 9952567dcef5a0a42088a5cdd97acd752cebac7f \ No newline at end of file + 5fb1430c7ca504551b2c7bd4fa7825dc9ea73bfe \ 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.0 +0100 +++ new/jeos-firstboot-0.0+git20170629.77ff28f/files/usr/lib/jeos-firstboot 2017-06-29 13:55:41.0 +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
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2017-03-24 02:20:57 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Fri Mar 24 02:20:57 2017 rev:3 rq:481102 version:0.0+git20170317.c20e917 Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2017-03-12 20:05:07.880151778 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2017-03-24 02:20:58.489835244 +0100 @@ -1,0 +2,6 @@ +Fri Mar 17 13:21:03 UTC 2017 - fv...@suse.com + +- Update to version 0.0+git20170317.c20e917: + * Use same dependencies as systemd-firstboot.service + +--- Old: jeos-firstboot-0.0+git20170310.18283bf.tar.xz New: jeos-firstboot-0.0+git20170317.c20e917.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.7h1HXH/_old 2017-03-24 02:20:59.005762245 +0100 +++ /var/tmp/diff_new_pack.7h1HXH/_new 2017-03-24 02:20:59.009761678 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20170310.18283bf +Version:0.0+git20170317.c20e917 Release:0 Summary:Simple text based JeOS first boot wizard License:MIT ++ _servicedata ++ --- /var/tmp/diff_new_pack.7h1HXH/_old 2017-03-24 02:20:59.053755454 +0100 +++ /var/tmp/diff_new_pack.7h1HXH/_new 2017-03-24 02:20:59.057754888 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - c28ca3e33f69c9c3b1f65b96a3edb55b28167944 \ No newline at end of file + 9952567dcef5a0a42088a5cdd97acd752cebac7f \ No newline at end of file ++ jeos-firstboot-0.0+git20170310.18283bf.tar.xz -> jeos-firstboot-0.0+git20170317.c20e917.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20170310.18283bf/files/usr/lib/systemd/system/jeos-firstboot.service new/jeos-firstboot-0.0+git20170317.c20e917/files/usr/lib/systemd/system/jeos-firstboot.service --- old/jeos-firstboot-0.0+git20170310.18283bf/files/usr/lib/systemd/system/jeos-firstboot.service 2017-03-10 10:44:52.0 +0100 +++ new/jeos-firstboot-0.0+git20170317.c20e917/files/usr/lib/systemd/system/jeos-firstboot.service 2017-03-17 14:19:35.0 +0100 @@ -8,8 +8,8 @@ [Unit] Description=SUSE JeOS First Boot Wizard DefaultDependencies=no -Conflicts=shutdown.target emergency.service -After=systemd-remount-fs.service systemd-tmpfiles-setup.service systemd-vconsole-setup.service systemd-udev-settle.service +Conflicts=shutdown.target +After=systemd-remount-fs.service Before=systemd-sysusers.service sysinit.target shutdown.target ConditionPathIsReadWrite=/etc ConditionFirstBoot=yes
commit jeos-firstboot for openSUSE:Factory
Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2017-03-12 20:05:05 Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New) Package is "jeos-firstboot" Sun Mar 12 20:05:05 2017 rev:2 rq:478465 version:0.0+git20170310.18283bf Changes: --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2017-01-25 23:28:41.358347100 +0100 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2017-03-12 20:05:07.880151778 +0100 @@ -1,0 +2,13 @@ +Fri Mar 10 09:46:04 UTC 2017 - fv...@suse.com + +- Update to version 0.0+git20170310.18283bf: + * Replace jeos-tool with jeos-add-repos script + * Move jeos-add-repos to sbin + +--- +Tue Mar 07 09:25:32 UTC 2017 - fv...@suse.com + +- Update to version 0.0+git20170307.f650718: + * Add [Install] section to jeos-firstboot.service + +--- Old: jeos-firstboot-0.0+git20161130.db63ad6.tar.xz New: jeos-firstboot-0.0+git20170310.18283bf.tar.xz Other differences: -- ++ jeos-firstboot.spec ++ --- /var/tmp/diff_new_pack.vUJWso/_old 2017-03-12 20:05:08.488065757 +0100 +++ /var/tmp/diff_new_pack.vUJWso/_new 2017-03-12 20:05:08.488065757 +0100 @@ -17,7 +17,7 @@ Name: jeos-firstboot -Version:0.0+git20161130.db63ad6 +Version:0.0+git20170310.18283bf Release:0 Summary:Simple text based JeOS first boot wizard License:MIT @@ -31,6 +31,10 @@ Requires: distribution-release Requires: systemd Requires: udev +%if 0%{?is_opensuse} +# Needed by jeos-add-repos +Requires: libxslt-tools +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -45,6 +49,10 @@ %install cp -a files/* %{buildroot} +%if !0%{?is_opensuse} + # Not needed on SLE + rm %{buildroot}%{_sbindir}/jeos-add-repos +%endif %preun %service_del_preun jeos-firstboot.service @@ -65,7 +73,9 @@ %{_unitdir} %{_libexecdir}/jeos-firstboot %{_libexecdir}/jeos-firstboot-functions -%{_bindir}/jeos-tool +%if 0%{?is_opensuse} +%{_sbindir}/jeos-add-repos +%endif /lib/kiwi %changelog ++ _servicedata ++ --- /var/tmp/diff_new_pack.vUJWso/_old 2017-03-12 20:05:08.536058966 +0100 +++ /var/tmp/diff_new_pack.vUJWso/_new 2017-03-12 20:05:08.536058966 +0100 @@ -1,4 +1,4 @@ git://github.com/openSUSE/jeos-firstboot.git - 7ef5966802525304f0b04c2abeb32dd4fb50f65c \ No newline at end of file + c28ca3e33f69c9c3b1f65b96a3edb55b28167944 \ No newline at end of file ++ jeos-firstboot-0.0+git20161130.db63ad6.tar.xz -> jeos-firstboot-0.0+git20170310.18283bf.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20161130.db63ad6/files/lib/kiwi/hooks/preCallInit.sh new/jeos-firstboot-0.0+git20170310.18283bf/files/lib/kiwi/hooks/preCallInit.sh --- old/jeos-firstboot-0.0+git20161130.db63ad6/files/lib/kiwi/hooks/preCallInit.sh 2016-11-30 11:55:37.0 +0100 +++ new/jeos-firstboot-0.0+git20170310.18283bf/files/lib/kiwi/hooks/preCallInit.sh 2017-03-10 10:44:52.0 +0100 @@ -26,7 +26,8 @@ chattr +C /var/lib/libvirt/images # Add repositories on opensuse -if hash jeos-tool 2>/dev/null; then +# (jeos-add-repos is not installed on SLE) +if hash jeos-add-repos 2>/dev/null; then echo "Adding repositories ..." - jeos-tool create_repos + jeos-add-repos fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20161130.db63ad6/files/usr/bin/jeos-tool new/jeos-firstboot-0.0+git20170310.18283bf/files/usr/bin/jeos-tool --- old/jeos-firstboot-0.0+git20161130.db63ad6/files/usr/bin/jeos-tool 2016-11-30 11:55:37.0 +0100 +++ new/jeos-firstboot-0.0+git20170310.18283bf/files/usr/bin/jeos-tool 1970-01-01 01:00:00.0 +0100 @@ -1,119 +0,0 @@ -#!/usr/bin/python -# Copyright (c) 2016 SUSE LLC -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial