From cfergeau at redhat.com Tue May 2 11:07:51 2017 From: cfergeau at redhat.com (Christophe Fergeau) Date: Tue, 2 May 2017 13:07:51 +0200 Subject: [Libosinfo] [osinfo-db 2/2] install-script, suse: Add install-scripts for SLES 11 SP4 In-Reply-To: <20170422224131.9328-3-fidencio@redhat.com> References: <20170422224131.9328-1-fidencio@redhat.com> <20170422224131.9328-3-fidencio@redhat.com> Message-ID: <20170502110751.srzsn3w6fg7oqh7k@edamame.cdg.redhat.com> On Sun, Apr 23, 2017 at 12:41:31AM +0200, Fabiano Fid?ncio wrote: > Some small changes have been done in the bootloader and in the patterns > currently used for SLES 12+ in order to also support the "old" SLES 11 > SP4. > > Signed-off-by: Fabiano Fid?ncio > --- > .../suse.com/suse-autoyast-desktop.xml.in | 34 ++++++++++++++++++++-- > .../suse.com/suse-autoyast-jeos.xml.in | 9 +++++- > data/os/suse.com/sles-11.4.xml.in | 9 ++++-- > 3 files changed, 47 insertions(+), 5 deletions(-) > > diff --git a/data/install-script/suse.com/suse-autoyast-desktop.xml.in b/data/install-script/suse.com/suse-autoyast-desktop.xml.in > index acb38c1..381d621 100644 > --- a/data/install-script/suse.com/suse-autoyast-desktop.xml.in > +++ b/data/install-script/suse.com/suse-autoyast-desktop.xml.in > @@ -86,7 +86,14 @@ > 8 > > > - grub2 > + > + > + grub > + > + > + grub2 > + > + > > > false > @@ -172,13 +179,20 @@ if test -z ''; then > pam-config -a --unix-nullok > pam-config -a --nullok > > - > + I'd squash this hunk in the first patch. Does this mean we are not adding any users with older suse? > useradd -m -G users > passwd -d > > > #Enable passwordless login for users that are part of the nopasswdlogin group > + > + > +sed -i '2 i auth sufficient pam_succeed_if.so user ingroup nopasswdlogin' /etc/pam.d/gdm > + > + > sed -i '4 i auth sufficient pam_succeed_if.so user ingroup nopasswdlogin' /etc/pam.d/gdm-password > + > + Maybe you could match on the first empty line, and insert this line before it to avoid the special casing here? (I don't have a suse at hand to check this file content, tryin to guess after looking at my fedora install). > fi > > if test -n ''; then > @@ -213,6 +227,15 @@ fi > base > gnome-basic > printing Shouldn't these 2 lines be removed? Christophe -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: From cfergeau at redhat.com Tue May 2 11:48:47 2017 From: cfergeau at redhat.com (Christophe Fergeau) Date: Tue, 2 May 2017 13:48:47 +0200 Subject: [Libosinfo] [osinfo-db 1/2] install-script, suse: Add install-scripts for SLES 12+ In-Reply-To: <20170422224131.9328-2-fidencio@redhat.com> References: <20170422224131.9328-1-fidencio@redhat.com> <20170422224131.9328-2-fidencio@redhat.com> Message-ID: <20170502114847.zk475mig35fc3m4u@edamame.cdg.redhat.com> On Sun, Apr 23, 2017 at 12:41:30AM +0200, Fabiano Fid?ncio wrote: > The install-scripts added support SLES 12, SLES 12 SP1 and SLES 12 SP2. > > Those scripts were completely based on the openSUSE ones and tested > against the "free for download" ISOs provided by SUSE, that you can find > in: https://www.suse.com/download-linux/ > > Signed-off-by: Fabiano Fid?ncio > --- > .../suse.com/suse-autoyast-desktop.xml.in | 287 +++++++++++++++++++++ > .../suse.com/suse-autoyast-jeos.xml.in | 201 +++++++++++++++ > data/os/suse.com/sles-12.1.xml.in | 7 +- > data/os/suse.com/sles-12.2.xml.in | 13 +- > data/os/suse.com/sles-12.xml.in | 7 +- > 5 files changed, 509 insertions(+), 6 deletions(-) > create mode 100644 data/install-script/suse.com/suse-autoyast-desktop.xml.in > create mode 100644 data/install-script/suse.com/suse-autoyast-jeos.xml.in > > diff --git a/data/install-script/suse.com/suse-autoyast-desktop.xml.in b/data/install-script/suse.com/suse-autoyast-desktop.xml.in > new file mode 100644 > index 0000000..acb38c1 > --- /dev/null > +++ b/data/install-script/suse.com/suse-autoyast-desktop.xml.in > @@ -0,0 +1,287 @@ > + > + > + > + > + > + desktop > + autoinst.xml > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + disk > + > +