Changes of Revision 4
[-] | Changed | kiwi.changes |
x 1
2 ------------------------------------------------------------------- 3 +Fri Nov 2 16:24:42 CET 2012 - ms@suse.de 4 + 5 +- v5.04.22 released 6 + 7 +------------------------------------------------------------------- 8 +Fri Nov 2 16:17:32 CET 2012 - ms@suse.de 9 + 10 +- removed vmxboot respectively image type vmx from arm code 11 + branch. All arm images are oem's vmx is unused here 12 + 13 +------------------------------------------------------------------- 14 +Fri Nov 2 13:10:35 CET 2012 - ms@suse.de 15 + 16 +- fixed device detection in the oemboot install code. The try to 17 + remove the boot device from the list of possible install devices. 18 + The sed statement used here caused a broken list of the substring 19 + also matches other devices. The fix here changes this to exactly 20 + match the device string of the boot device and nothing else 21 + 22 +------------------------------------------------------------------- 23 +Fri Nov 2 12:45:29 CET 2012 - ms@suse.de 24 + 25 +- fixed etc/default/grub GRUB_DISTRIBUTOR name setup 26 + 27 +------------------------------------------------------------------- 28 +Fri Nov 2 11:49:54 CET 2012 - ms@suse.de 29 + 30 +- include mdmon to handle raid array status changes if 31 + a dmraid array is in use 32 + 33 +------------------------------------------------------------------- 34 +Fri Nov 2 11:20:32 CET 2012 - ms@suse.de 35 + 36 +- fixed use of uninitialized values in the code now reported 37 + due to the use of warnings at runtime 38 + 39 +------------------------------------------------------------------- 40 +Fri Nov 2 10:33:07 CET 2012 - ms@suse.de 41 + 42 +- fixed setup of /etc/default/grub to contain the bootloader 43 + setup in terms of boot title, timeout, etc... (bnc #786262) 44 + 45 +------------------------------------------------------------------- 46 +Fri Nov 2 01:18:30 CET 2012 - rjschwei@suse.de 47 + 48 +- report an error when a <systemdisk> definition is specified in the 49 + configuration and we cannot find the necessary command to obtain 50 + LVM information 51 +- implement consistency check for user settings 52 + * if a user is specified in two <users> sections all given settings must 53 + be the same 54 + * the same user may not be specified twice in the same <users> section 55 +- implement group setting consistency check 56 + * a group id may only be used once 57 + * a group name may only be used with one ID 58 + 59 +------------------------------------------------------------------- 60 +Thu Nov 1 05:54:36 CET 2012 - rjschwei@suse.de 61 + 62 +- implement KIWIXMLUserData class to store user data 63 +- implement unit test for new class 64 +- implement unit tests for new methods 65 +- tie new class into XML Class 66 + * rename the following methods to *_legacy 67 + __addVolume() 68 + __populateImageTypeAndNode() 69 + __updateDescriptionFromChangeSet() 70 + __populateProfiledTypeInfo() 71 + getUsers() 72 + getTypes() 73 + * add new getUsers method returning an array of UserData objects 74 + * add new getType method return TypeData object for given type name 75 +- fixup client code to call new _legacy methods 76 +- update unit tests using _legacy 77 + 78 +------------------------------------------------------------------- 79 +Wed Oct 31 21:32:01 CET 2012 - guillaume.gardet@suse.de 80 + 81 +- Added armv5 support 82 + 83 +------------------------------------------------------------------- 84 +Wed Oct 31 17:40:55 CET 2012 - ms@suse.de 85 + 86 +- v5.04.21 released 87 + 88 +------------------------------------------------------------------- 89 +Wed Oct 31 17:39:51 CET 2012 - ms@suse.de 90 + 91 +- fixed unit test, don't use remote URLs for a test they will 92 + fail inside the buildservice because there is no network 93 + access allowed 94 + 95 +------------------------------------------------------------------- 96 +Wed Oct 31 17:31:06 CET 2012 - ms@suse.de 97 + 98 +- fixed spec file, added lvm2 to buildrequires. This is 99 + required to let the unit tests work 100 + 101 +------------------------------------------------------------------- 102 +Wed Oct 31 17:30:18 CET 2012 - ms@suse.de 103 + 104 +- fixed use of uninitialized values in the code now reported 105 + due to the use of warnings at runtime 106 + 107 +------------------------------------------------------------------- 108 +Wed Oct 31 17:12:44 CET 2012 - ms@suse.de 109 + 110 +- v5.04.20 released 111 + 112 +------------------------------------------------------------------- 113 +Tue Oct 30 20:46:59 CET 2012 - ms@suse.de 114 + 115 +- fixed use of uninitialized values in the code now reported 116 + due to the use of warnings at runtime 117 + 118 +------------------------------------------------------------------- 119 +Tue Oct 30 17:39:29 CET 2012 - ms@suse.de 120 + 121 +- don't send data to a closed file descriptor 122 + 123 +------------------------------------------------------------------- 124 +Tue Oct 30 17:17:19 CET 2012 - ms@suse.de 125 + 126 +- fixed use of uninitialized values in the code now reported 127 + due to the use of warnings at runtime 128 + 129 +------------------------------------------------------------------- 130 +Tue Oct 30 16:28:28 CET 2012 - ms@suse.de 131 + 132 +- fixed name for install media: 133 + * install ISO has suffix: .install.iso 134 + * install USB has suffix: .install.raw 135 + * install PXE has suffix: .install.tgz 136 + 137 +------------------------------------------------------------------- 138 +Tue Oct 30 16:15:36 CET 2012 - ms@suse.de 139 + 140 +- update pre-commit hook 141 + 142 +------------------------------------------------------------------- 143 +Tue Oct 30 16:12:57 CET 2012 - ms@suse.de 144 + 145 +- put KIWIXML.pm to perl critic level 4 146 + 147 +------------------------------------------------------------------- 148 +Tue Oct 30 15:37:25 CET 2012 - ms@suse.de 149 + 150 +- put KIWISharedMem.pm to perl critic level 4 151 + 152 +------------------------------------------------------------------- 153 +Tue Oct 30 15:27:27 CET 2012 - ms@suse.de 154 + 155 +- put KIWISatSolver.pm to perl critic level 4 156 + 157 +------------------------------------------------------------------- 158 +Tue Oct 30 15:25:13 CET 2012 - ms@suse.de 159 + 160 +- put KIWIRoot.pm to perl critic level 4 161 + 162 +------------------------------------------------------------------- 163 +Tue Oct 30 15:22:18 CET 2012 - ms@suse.de 164 + 165 +- put KIWIRepoMetaHandler.pm to perl critic level 4 166 + 167 +------------------------------------------------------------------- 168 +Tue Oct 30 15:02:30 CET 2012 - ms@suse.de 169 + 170 +- put KIWIProductData.pm to perl critic level 4 171 + 172 +------------------------------------------------------------------- 173 +Tue Oct 30 14:37:17 CET 2012 - ms@suse.de 174 + 175 +- put KIWIMigrate.pm to perl critic level 4 176 + 177 +------------------------------------------------------------------- 178 +Tue Oct 30 14:24:24 CET 2012 - ms@suse.de 179 + 180 +- put KIWIManager.pm to perl critic level 4 181 + 182 +------------------------------------------------------------------- 183 +Tue Oct 30 14:03:59 CET 2012 - rjschwei@suse.de 184 + 185 +- add consistency check to verify a volume name is unique 186 + within each <systemdisk> definition 187 +- add unit test 188 + 189 +------------------------------------------------------------------- 190 +Tue Oct 30 11:18:50 CET 2012 - ms@suse.de 191 + 192 +- put KIWILog.pm to perl critic level 4 193 + 194 +------------------------------------------------------------------- 195 +Tue Oct 30 11:02:00 CET 2012 - ms@suse.de 196 + 197 +- put KIWIImage.pm to perl critic level 4 198 + 199 +------------------------------------------------------------------- 200 +Tue Oct 30 10:46:44 CET 2012 - ms@suse.de 201 |
||
[-] | Changed | kiwi.spec ^ |
201 1
2 # 3 # spec file for package kiwi 4 # 5 -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. 6 +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. 7 # 8 # All modifications and additions to the file contributed by third parties 9 # remain the property of their copyright owners, unless otherwise agreed 10
11 # Please submit bugfixes or comments via http://bugs.opensuse.org/ 12 # 13 14 -# needsrootforbuild 15 16 Url: http://github.com/openSUSE/kiwi 17 - 18 Name: kiwi 19 -BuildRequires: perl-Config-IniFiles perl-XML-LibXML perl-libwww-perl 20 -BuildRequires: module-init-tools screen zlib-devel 21 -BuildRequires: gcc-c++ libxslt swig trang 22 +Summary: openSUSE - KIWI Image System 23 +License: GPL-2.0 24 +Group: System/Management 25 +Version: 5.04.22 26 +Release: 0 27 +# requirements to build packages 28 +BuildRequires: gcc-c++ 29 +BuildRequires: libxslt 30 +BuildRequires: lvm2 31 +BuildRequires: module-init-tools 32 +BuildRequires: perl-Config-IniFiles 33 +BuildRequires: perl-XML-LibXML 34 +BuildRequires: perl-libwww-perl 35 +BuildRequires: screen 36 +BuildRequires: zlib-devel 37 %if %{suse_version} > 1020 38 BuildRequires: fdupes 39 %endif 40 %ifarch %ix86 x86_64 41 BuildRequires: syslinux 42 %endif 43 -%if %{suse_version} > 1010 44 -BuildRequires: libqt4 libqt4-devel 45 -%else 46 -BuildRequires: freetype2-devel libpng-devel qt qt-devel 47 -%endif 48 %if %{suse_version} > 1030 49 -BuildRequires: libexpat-devel rpm-devel 50 -%endif 51 -%if %{suse_version} > 1030 && %{suse_version} <= 1130 52 -BuildRequires: libsatsolver-devel 53 +BuildRequires: libexpat-devel 54 +BuildRequires: rpm-devel 55 %endif 56 %if %{suse_version} > 1140 57 -BuildRequires: btrfsprogs perl-Test-Unit squashfs 58 -BuildRequires: cdrkit-cdrtools-compat genisoimage zypper 59 -%endif 60 -%if %{suse_version} <= 1010 61 -Requires: qt 62 +BuildRequires: btrfsprogs 63 +BuildRequires: cdrkit-cdrtools-compat 64 +BuildRequires: genisoimage 65 +BuildRequires: perl-Readonly 66 +BuildRequires: perl-Test-Unit 67 +BuildRequires: squashfs 68 +BuildRequires: zypper 69 +%endif 70 +# requirements to run kiwi 71 +Requires: checkmedia 72 +Requires: coreutils 73 +Requires: kiwi-tools 74 +Requires: libxslt 75 +Requires: perl = %{perl_version} 76 +Requires: perl-Config-IniFiles 77 +%if %{suse_version} > 1140 78 +Requires: perl-Readonly 79 %endif 80 +Requires: perl-XML-LibXML 81 +Requires: perl-XML-LibXML-Common 82 +Requires: perl-XML-SAX 83 +Requires: perl-libwww-perl 84 +Requires: rsync 85 +Requires: screen 86 +Requires: util-linux 87 %ifarch %ix86 x86_64 88 %if %{suse_version} > 1010 89 Requires: squashfs 90 %endif 91 %endif 92 -Requires: perl = %{perl_version} 93 -Requires: perl-XML-LibXML perl-libwww-perl screen coreutils 94 -Requires: perl-XML-LibXML-Common perl-XML-SAX perl-Config-IniFiles 95 -Requires: kiwi-tools libxslt checkmedia util-linux rsync 96 %if %{suse_version} > 1030 97 Requires: satsolver-tools 98 %endif 99 -%if %{suse_version} > 1130 100 -Requires: perl-satsolver >= 0.42 101 -%endif 102 %ifarch %ix86 x86_64 103 Requires: master-boot-code 104 %if %{suse_version} > 1110 105 Requires: clicfs >= 1.3.9 106 %endif 107 %endif 108 -Summary: OpenSuSE - KIWI Image System 109 -Version: 4.98.15 110 -Release: 1 111 -Group: System/Management 112 -License: GPLv2 113 +# recommended to run kiwi 114 +%if 0%{?suse_version} 115 +Recommends: perl-satsolver >= 0.42 116 +Recommends: jing 117 +Recommends: zypper 118 +Recommends: lxc 119 +%endif 120 +%if %{suse_version} > 1140 121 +Recommends: db45-utils 122 +%endif 123 +# obsoletes 124 +Obsoletes: kiwi-desc-usbboot <= 4.81 125 +# sources 126 Source: %{name}.tar.bz2 127 Source1: %{name}-rpmlintrc 128 Source2: %{name}-docu.tar.bz2 129 Source3: %{name}-repo.tar.bz2 130 +Source4: %{name}-find-boot-requires.sh 131 +Patch0: fix-products.diff 132 +# build root path 133 BuildRoot: %{_tmppath}/%{name}-%{version}-build 134 + 135 +# find out about the name scheme of the local system for -requieres packages 136 %if 0%{?suse_version} 137 -Recommends: jing 138 -Recommends: zypper 139 +%if 0%{?sles_version} 140 +%define mysystems suse-SLES%{sles_version} suse-SLED%{sles_version} 141 +%else 142 +%define mysystems %(echo `export VER=%{suse_version}; [ "$VER" == "1230" ] && VER="1220"; echo "suse-${VER:0:2}.${VER:2:1}"`) 143 +%endif 144 +%endif 145 +%if 0%{?rhel_version} 146 +%define mysystems %(echo `VER=%{rhel_version} echo "rhel-0${VER:0:1}.${VER:1:2}"`) 147 +%endif 148 +# find out about my arch name, could be done also via symlinks 149 +%define myarch %{_target_cpu} 150 +%ifarch armv7l armv7hl 151 +%define myarch armv7l 152 +%endif 153 +%ifarch %ix86 154 +%define myarch ix86 155 %endif 156 -Obsoletes: kiwi-desc-usbboot <= 4.81 157 158 %description 159 -The OpenSuSE KIWI Image System provides a complete operating system 160 +The openSUSE KIWI Image System provides a complete operating system 161 image solution for Linux supported hardware platforms as well as for 162 virtualization systems like Xen. 163 164 Authors: 165 -------- 166 - Marcus Schaefer <ms@novell.com> 167 + Marcus Schaefer <ms@suse.com> 168 169 %package -n kiwi-instsource 170 -License: GPLv2 171 +Requires: build 172 +Requires: createrepo 173 +Requires: inst-source-utils 174 Requires: kiwi = %{version} 175 -Requires: inst-source-utils createrepo build 176 Summary: Installation Source creation 177 +License: GPL-2.0 178 Group: System/Management 179 %if 0%{?suse_version} > 1120 180 BuildArch: noarch 181
182 183 Authors: 184 -------- 185 - Adrian Schroeter <adrian@novell.com> 186 - Jan Bornschlegel <jcborn@novell.com> 187 + Adrian Schroeter <adrian@suse.com> 188 + Jan Bornschlegel <jcborn@suse.com> 189 190 %package -n kiwi-doc 191 -License: LGPLv2.0+ 192 -Summary: OpenSuSE - KIWI Image System Documentation 193 +Summary: openSUSE - KIWI Image System Documentation 194 +License: LGPL-2.0+ 195 Group: Documentation/Howto 196 %if 0%{?suse_version} > 1120 197 BuildArch: noarch 198
199 Marcus Schaefer 200 201 |
||
[+] | Added | fix-products.diff ^ |
@@ -0,0 +1,34 @@ +diff --git a/modules/KIWICollect.pm b/modules/KIWICollect.pm +index 84cd474..6f57aef 100644 +--- a/modules/KIWICollect.pm ++++ b/modules/KIWICollect.pm +@@ -634,7 +634,7 @@ sub Init + $this->{m_repos}->{$r}->{'srcdirs'} = undef; + } + } +- return; ++ return 1; + } + # /Init + +@@ -2596,7 +2596,7 @@ sub createBootPackageLinks + } + } + } +- $RPMLIST -> close(); ++ $RPMLIST -> close() if ($RPMLIST); + return $retval; + } + +diff --git a/modules/KIWIProductData.pm b/modules/KIWIProductData.pm +index 48a4f6a..98f78de 100644 +--- a/modules/KIWIProductData.pm ++++ b/modules/KIWIProductData.pm +@@ -61,6 +61,7 @@ sub new { + #========================================== + # Constructor setup + #------------------------------------------ ++ $this->{m_collect} = shift; + $this->{m_prodinfo_updated} = 0; + $this->{m_prodvars_updated} = 0; + $this->{m_prodopts_updated} = 0; | ||
[+] | Changed | _link ^ |
@@ -1,4 +1,4 @@ -<link project="openSUSE.org:Virtualization:Appliances" package="kiwi" baserev="fc9a513b6a1cd06b4d478a9ef2df9356"> +<link project="openSUSE.org:Virtualization:Appliances" package="kiwi" baserev="5719b8bedb1c803b8296208ea3b7277d"> <patches> <branch/> </patches> | ||
Changed | kiwi-docu.tar.bz2 ^ | |
[+] | Added | kiwi-find-boot-requires.sh ^ |
@@ -0,0 +1,36 @@ +#!/bin/bash + +sourcearchive=$1 +shift +boottype=$1 +shift +architecture=$1 +shift +oses="$@" + +# extract files +tar xfj $sourcearchive kiwi/system/boot/ >&/dev/null + +declare -i MISSING +MISSING="1" +for os in $oses; do + file="kiwi/system/boot/$architecture/$boottype/$os/config.xml" + [ -e "$file" ] || echo "ERROR_NO_BOOT_CONFIG_FILE_FOUND" + + # my professional enterprise ready xml parser: + while read line; do + l=($line) + package=${l[0]} + arch=${l[1]} + if [ -z "$arch" -o "$arch" == "$architecture" ]; then + echo -n "$package " + unset MISSING + fi + done < <( sed '/<packages type="delete">/,/<\/packages>/d' "$file" | perl -e 'while (<STDIN>) { if ($_ =~ /.*package name="([^"]*)"( arch="([^"]*)")?.*/ ) { print $1." ".$3."\n"; }; }' + ) +done + +[ -z "$MISSING" ] || echo "ERROR_NO_DEPENDENCIES_FOUND" + +#cleanup +rm -rf kiwi | ||
[+] | Added | kiwi-repo.tar.bz2/repo/armv5tel ^ |
+(symlink to armv7l) | ||
[+] | Added | kiwi-repo.tar.bz2/repo/armv7l ^ |
+(directory) | ||
[+] | Added | kiwi-repo.tar.bz2/repo/armv7l/README ^ |
@@ -0,0 +1,4 @@ +# /.../ +# put the packages you need to provide with kiwi +# for the appropriate architecture here +# --- | ||
[+] | Changed | kiwi-rpmlintrc ^ |
@@ -7,6 +7,9 @@ # kiwi includes the SVN revision of this build as hidden file addFilter("hidden-file-or-dir /usr/share/kiwi/.revision") +# kiwi includes pub keys in .ssh as hidden file +addFilter("hidden-file-or-dir /usr/share/kiwi/image/.*/.*/root/root/.ssh") + # don't apply perl naming policy on kiwi addFilter("kiwi.* perl5-naming-policy-not-applied") | ||
Changed | kiwi.tar.bz2 ^ |