Please note that this mail was generated by a script. The described changes are computed based on the x86_64 DVD. The full online repo contains too many changes to be listed here. Please check the known defects of this snapshot before upgrading: https://openqa.opensuse.org/tests/overview?distri=opensuse&groupid=1&version=Tumbleweed&build=20190124 Please do not reply to this email to report issues, rather file a bug on bugzilla.opensuse.org. For more information on filing bugs please see https://en.opensuse.org/openSUSE:Submitting_bug_reports Packages changed: analitza (18.12.0 -> 18.12.1) blinken (18.12.0 -> 18.12.1) bovo (18.12.0 -> 18.12.1) bsd-games cervisia (18.12.0 -> 18.12.1) ffmpegthumbs (18.12.0 -> 18.12.1) gitg (3.26.0 -> 3.30.1) hylafax+ juk (18.12.0 -> 18.12.1) kalgebra (18.12.0 -> 18.12.1) kalzium (18.12.0 -> 18.12.1) kanagram (18.12.0 -> 18.12.1) kapptemplate (18.12.0 -> 18.12.1) katomic (18.12.0 -> 18.12.1) kblackbox (18.12.0 -> 18.12.1) kblocks (18.12.0 -> 18.12.1) kbounce (18.12.0 -> 18.12.1) kbreakout (18.12.0 -> 18.12.1) kbruch (18.12.0 -> 18.12.1) kcachegrind (18.12.0 -> 18.12.1) kcron (18.12.0 -> 18.12.1) kde-print-manager (18.12.0 -> 18.12.1) kdeedu-data (18.12.0 -> 18.12.1) kdegraphics-thumbnailers (18.12.0 -> 18.12.1) kdf (18.12.0 -> 18.12.1) kdiamond (18.12.0 -> 18.12.1) kernel-source (4.20.0 -> 4.20.2) kgeography (18.12.0 -> 18.12.1) kget (18.12.0 -> 18.12.1) kgoldrunner (18.12.0 -> 18.12.1) khangman (18.12.0 -> 18.12.1) kig (18.12.0 -> 18.12.1) kimagemapeditor (18.12.0 -> 18.12.1) kiriki (18.12.0 -> 18.12.1) kiten (18.12.0 -> 18.12.1) kjumpingcube (18.12.0 -> 18.12.1) klettres (18.12.0 -> 18.12.1) klines (18.12.0 -> 18.12.1) kmahjongg (18.12.0 -> 18.12.1) kmines (18.12.0 -> 18.12.1) kmouth (18.12.0 -> 18.12.1) kmplot (18.12.0 -> 18.12.1) knavalbattle (18.12.0 -> 18.12.1) knetwalk (18.12.0 -> 18.12.1) kolf (18.12.0 -> 18.12.1) kollision (18.12.0 -> 18.12.1) kolourpaint (18.12.0 -> 18.12.1) konquest (18.12.0 -> 18.12.1) kpat (18.12.0 -> 18.12.1) kqtquickcharts (18.12.0 -> 18.12.1) krdc (18.12.0 -> 18.12.1) kreversi (18.12.0 -> 18.12.1) krfb (18.12.0 -> 18.12.1) kshisen (18.12.0 -> 18.12.1) ksirk (18.12.0 -> 18.12.1) kspaceduel (18.12.0 -> 18.12.1) ksquares (18.12.0 -> 18.12.1) ksudoku (18.12.0 -> 18.12.1) ksystemlog (18.12.0 -> 18.12.1) kteatime (18.12.0 -> 18.12.1) ktimer (18.12.0 -> 18.12.1) ktouch (18.12.0 -> 18.12.1) ktuberling (18.12.0 -> 18.12.1) kturtle (18.12.0 -> 18.12.1) kubrick (18.12.0 -> 18.12.1) kwordquiz (18.12.0 -> 18.12.1) libkdegames (18.12.0 -> 18.12.1) libkeduvocdocument (18.12.0 -> 18.12.1) libkmahjongg (18.12.0 -> 18.12.1) libstorage-ng (4.1.75 -> 4.1.78) lokalize (18.12.0 -> 18.12.1) lskat (18.12.0 -> 18.12.1) mbox-importer (18.12.0 -> 18.12.1) nagios (4.4.2 -> 4.4.3) parley (18.12.0 -> 18.12.1) perl-Config-IniFiles (3.000000 -> 3.000001) perl-IO-stringy perl-Net-SSLeay pim-data-exporter (18.12.0 -> 18.12.1) pim-sieve-editor (18.12.0 -> 18.12.1) pragha (1.3.3 -> 1.3.99) python-kiwi (9.17.7 -> 9.17.1) qqc2-desktop-style (5.53.0 -> 5.54.0) remmina (1.2.32.1 -> 1.3.0) rubygem-fast_gettext (1.8.0 -> 2.0.0) signon-kwallet-extension (18.12.0 -> 18.12.1) spamassassin step (18.12.0 -> 18.12.1) sweeper (18.12.0 -> 18.12.1) umbrello (18.12.0 -> 18.12.1) v4l2loopback (0.12.0_k4.20.0_1 -> 0.12.1_k4.20.2_1) xfce4-branding-openSUSE xfce4-panel-plugin-whiskermenu (2.3.0 -> 2.3.1) yast2 (4.1.48 -> 4.1.53) yast2-apparmor (4.1.3 -> 4.1.4) yast2-firewall (4.1.5 -> 4.1.10) yast2-network (4.1.29 -> 4.1.34) yast2-pkg-bindings (4.1.0 -> 4.1.1) yast2-ruby-bindings (4.1.1 -> 4.1.2) yast2-storage-ng (4.1.43 -> 4.1.47) yast2-trans (84.87.20190105.e1195fbe48 -> 84.87.20190119.79f0258829) yast2-users (4.1.5 -> 4.1.6) ypbind (2.5 -> 2.6) === Details === ==== analitza ==== Version update (18.12.0 -> 18.12.1) Subpackages: analitza-lang libAnalitza5 - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== blinken ==== Version update (18.12.0 -> 18.12.1) Subpackages: blinken-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== bovo ==== Version update (18.12.0 -> 18.12.1) Subpackages: bovo-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== bsd-games ==== - Switch to ncurses 6 wide char ABI ==== cervisia ==== Version update (18.12.0 -> 18.12.1) Subpackages: cervisia-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== ffmpegthumbs ==== Version update (18.12.0 -> 18.12.1) - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * i18n: allow to translate the configuration - Generate -lang subpackage ==== gitg ==== Version update (3.26.0 -> 3.30.1) Subpackages: gitg-lang libgitg-1_0-0 libgitg-ext-1_0-0 - Add gitg-typelib-dependencies.patch: Change the way we add library dependencies to .typelibs. openSUSE requires a full library name, incl. version. - Update to version 3.30.1: + Meson improvements. + Fix parsing title and body for message commit. + Search repositories ignoring case. + Added standalone mode. + Allow to config patience algorithm. + GUI improvements. + Removed autotools buildsystem. + Fixed mac compilation. + Misc fixes. - Changes from version 3.30.0: + Detect dark theme from its background color. + Buildsystem meson added. + Added flatpak deployments. + Updated translations. + Misc fixes. - Switch to meson buildsystem, add meson BuildRequires and macros. - Add gitg-Bump-libgit2-glib-dependency.patch: Fix build with new libgit2-glib, following this drop pkgconfig(libgit2-glib-1.0) BuildConflicts: No longer needed nor valid. - Add gitg-Various-meson-build-fixes.patch: Various meson build fixes needed, all taken from upstream. - Drop post(un) handling of glib2_gsettings_schema_post(un) and glib2_gsettings_schema_requires, no longer needed. ==== hylafax+ ==== Subpackages: hylafax+-client libfaxutil5_6_1 - Reduce boilerplate generated from %service_* by calling it just once. - faxgetty@ service removed from %pre section, as it is only a placeholder - Dependency on hylafax-hfaxd for timers added - migrate from cron to systemd timers (boo#1115442) ==== juk ==== Version update (18.12.0 -> 18.12.1) Subpackages: juk-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * ci: enable freebsd platform * ci: add the template for creating the flatpak * ci: it seems recursive include is not supported * Add the Gitlab CI configuration * Port sort function for list of playlists to KF5. (kde#402398) * Force sorting on so that special playlist sort to top. * Fix the "Show Columns" menu to show correct state on startup. * Disable tag updating from inline editor. ==== kalgebra ==== Version update (18.12.0 -> 18.12.1) Subpackages: kalgebra-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Don't set property twice * Make it easier to copy from the console * Don't show about:blank when copying the result ==== kalzium ==== Version update (18.12.0 -> 18.12.1) Subpackages: kalzium-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kanagram ==== Version update (18.12.0 -> 18.12.1) Subpackages: kanagram-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix mem leak found by asan * Use QString() here ==== kapptemplate ==== Version update (18.12.0 -> 18.12.1) Subpackages: kapptemplate-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== katomic ==== Version update (18.12.0 -> 18.12.1) Subpackages: katomic-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kblackbox ==== Version update (18.12.0 -> 18.12.1) Subpackages: kblackbox-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kblocks ==== Version update (18.12.0 -> 18.12.1) Subpackages: kblocks-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kbounce ==== Version update (18.12.0 -> 18.12.1) Subpackages: kbounce-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kbreakout ==== Version update (18.12.0 -> 18.12.1) Subpackages: kbreakout-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kbruch ==== Version update (18.12.0 -> 18.12.1) Subpackages: kbruch-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kcachegrind ==== Version update (18.12.0 -> 18.12.1) Subpackages: kcachegrind-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Use more https in links ==== kcron ==== Version update (18.12.0 -> 18.12.1) Subpackages: kcron-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kde-print-manager ==== Version update (18.12.0 -> 18.12.1) Subpackages: kde-print-manager-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kdeedu-data ==== Version update (18.12.0 -> 18.12.1) - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kdegraphics-thumbnailers ==== Version update (18.12.0 -> 18.12.1) - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kdf ==== Version update (18.12.0 -> 18.12.1) Subpackages: kdf-lang kwikdisk - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kdiamond ==== Version update (18.12.0 -> 18.12.1) Subpackages: kdiamond-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kernel-source ==== Version update (4.20.0 -> 4.20.2) Subpackages: kernel-default kernel-default-devel kernel-devel kernel-docs kernel-macros kernel-syms kernel-vanilla-base - Linux 4.20.2 (bnc#1012628). - drm/rockchip: psr: do not dereference encoder before it is null checked (bnc#1012628). - drm/vc4: Set ->is_yuv to false when num_planes == 1 (bnc#1012628). - drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume() (bnc#1012628). - lib: fix build failure in CONFIG_DEBUG_VIRTUAL test (bnc#1012628). - of: __of_detach_node() - remove node from phandle cache (bnc#1012628). - of: of_node_get()/of_node_put() nodes held in phandle cache (bnc#1012628). - power: supply: olpc_battery: correct the temperature units (bnc#1012628). - intel_th: msu: Fix an off-by-one in attribute store (bnc#1012628). - genwqe: Fix size check (bnc#1012628). - selftests: Fix test errors related to lib.mk khdr target (bnc#1012628). - powerpc/4xx/ocm: Fix compilation error due to PAGE_KERNEL usage (bnc#1012628). - drivers/perf: hisi: Fixup one DDRC PMU register offset (bnc#1012628). - video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data" (bnc#1012628). - ceph: don't update importing cap's mseq when handing cap export (bnc#1012628). - sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c (bnc#1012628). - iommu/vt-d: Handle domain agaw being less than iommu agaw (bnc#1012628). - RDMA/iwcm: Don't copy past the end of dev_name() string (bnc#1012628). - RDMA/srpt: Fix a use-after-free in the channel release code (bnc#1012628). - stm class: Fix a module refcount leak in policy creation error path (bnc#1012628). - rxe: fix error completion wr_id and qp_num (bnc#1012628). - 9p/net: put a lower bound on msize (bnc#1012628). - iio: dac: ad5686: fix bit shift read register (bnc#1012628). - iio: adc: qcom-spmi-adc5: Initialize prescale properly (bnc#1012628). - powerpc/tm: Set MSR[TS] just prior to recheckpoint (bnc#1012628). - Revert "powerpc/tm: Unset MSR[TS] if not recheckpointing" (bnc#1012628). - nfsd4: zero-length WRITE should succeed (bnc#1012628). - xprtrdma: Yet another double DMA-unmap (bnc#1012628). - lockd: Show pid of lockd for remote locks (bnc#1012628). - PCI / PM: Allow runtime PM without callback functions (bnc#1012628). - selinux: policydb - fix byte order and alignment issues (bnc#1012628). - b43: Fix error in cordic routine (bnc#1012628). - gfs2: Fix loop in gfs2_rbm_find (bnc#1012628). - gfs2: Get rid of potential double-freeing in gfs2_create_inode (bnc#1012628). - dlm: memory leaks on error path in dlm_user_request() (bnc#1012628). - dlm: lost put_lkb on error path in receive_convert() and receive_unlock() (bnc#1012628). - dlm: possible memory leak on error path in create_lkb() (bnc#1012628). - dlm: fixed memory leaks after failed ls_remove_names allocation (bnc#1012628). - dm: do not allow readahead to limit IO size (bnc#1012628). - block: mq-deadline: Fix write completion handling (bnc#1012628). - block: deactivate blk_stat timer in wbt_disable_default() (bnc#1012628). - Fix failure path in alloc_pid() (bnc#1012628). - driver core: Add missing dev->bus->need_parent_lock checks (bnc#1012628). - srcu: Lock srcu_data structure in srcu_gp_start() (bnc#1012628). - ALSA: usb-audio: Always check descriptor sizes in parser code (bnc#1012628). - ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks (bnc#1012628). - ALSA: usb-audio: Check mixer unit descriptors more strictly (bnc#1012628). - ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit() (bnc#1012628). - ALSA: cs46xx: Potential NULL dereference in probe (bnc#1012628). - media: cx23885: only reset DMA on problematic CPUs (bnc#1012628). - mm, swap: fix swapoff with KSM pages (bnc#1012628). - mm, hmm: mark hmm_devmem_{add, add_resource} EXPORT_SYMBOL_GPL (bnc#1012628). - mm, hmm: replace hmm_devmem_pages_create() with devm_memremap_pages() (bnc#1012628). - mm, hmm: use devm semantics for hmm_devmem_{add, remove} (bnc#1012628). - mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support (bnc#1012628). - sunrpc: use SVC_NET() in svcauth_gss_* functions (bnc#1012628). - sunrpc: fix cache_head leak due to queued request (bnc#1012628). - memcg, oom: notify on oom killer invocation from the charge path (bnc#1012628). - mm, devm_memremap_pages: fix shutdown handling (bnc#1012628). - mm, devm_memremap_pages: kill mapping "System RAM" support (bnc#1012628). - mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL (bnc#1012628). - hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined (bnc#1012628). - zram: fix double free backing device (bnc#1012628). - fork: record start_time late (bnc#1012628). - scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid (bnc#1012628). - scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown (bnc#1012628). - commit 036c5c2 - Linux 4.20.1 (bnc#1012628). - panic: avoid deadlocks in re-entrant console drivers (bnc#1012628). - iwlwifi: add new cards for 9560, 9462, 9461 and killer series (bnc#1012628). - media: ov5640: Fix set format regression (bnc#1012628). - bnx2x: Fix NULL pointer dereference in bnx2x_del_all_vlans() on some hw (bnc#1012628). - tap: call skb_probe_transport_header after setting skb->dev (bnc#1012628). - ax25: fix a use-after-free in ax25_fillin_cb() (bnc#1012628). - ibmveth: fix DMA unmap error in ibmveth_xmit_start error path (bnc#1012628). - ieee802154: lowpan_header_create check must check daddr (bnc#1012628). - ip: validate header length on virtual device xmit (bnc#1012628). - net/hamradio/6pack: use mod_timer() to rearm timers (bnc#1012628). - isdn: fix kernel-infoleak in capi_unlocked_ioctl (bnc#1012628). - netrom: fix locking in nr_find_socket() (bnc#1012628). - net/wan: fix a double free in x25_asy_open_tty() (bnc#1012628). - ptr_ring: wrap back ->producer in __ptr_ring_swap_queue() (bnc#1012628). - sock: Make sock->sk_stamp thread-safe (bnc#1012628). - tipc: fix a double free in tipc_enable_bearer() (bnc#1012628). - IB/hfi1: Incorrect sizing of sge for PIO will OOPs (bnc#1012628). - ALSA: rme9652: Fix potential Spectre v1 vulnerability (bnc#1012628). - ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities (bnc#1012628). - ALSA: pcm: Fix potential Spectre v1 vulnerability (bnc#1012628). - ALSA: emux: Fix potential Spectre v1 vulnerabilities (bnc#1012628). - powerpc/fsl: Fix spectre_v2 mitigations reporting (bnc#1012628). - mtd: atmel-quadspi: disallow building on ebsa110 (bnc#1012628). - mtd: rawnand: marvell: prevent timeouts on a loaded machine (bnc#1012628). - mtd: rawnand: Fix JEDEC detection (bnc#1012628). - mtd: rawnand: omap2: Pass the parent of pdev to dma_request_chan() (bnc#1012628). - ALSA: hda: add mute LED support for HP EliteBook 840 G4 (bnc#1012628). - ALSA: hda/realtek: Enable audio jacks of ASUS UX391UA with ALC294 (bnc#1012628). - ALSA: fireface: fix for state to fetch PCM frames (bnc#1012628). - ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet (bnc#1012628). - ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint (bnc#1012628). - ALSA: firewire-lib: use the same print format for 'without_header' tracepoints (bnc#1012628). - ALSA: hda/realtek: Enable the headset mic auto detection for ASUS laptops (bnc#1012628). - ALSA: hda/tegra: clear pending irq handlers (bnc#1012628). - usb: dwc2: host: use hrtimer for NAK retries (bnc#1012628). - USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays (bnc#1012628). - USB: serial: option: add Fibocom NL678 series (bnc#1012628). - usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable() (bnc#1012628). - usb: dwc2: disable power_down on Amlogic devices (bnc#1012628). - Revert "usb: dwc3: pci: Use devm functions to get the phy GPIOs" (bnc#1012628). - usb: roles: Add a description for the class to Kconfig (bnc#1012628). - media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER (bnc#1012628). - i915: fix missing user_access_end() in page fault exception case (bnc#1012628). - staging: wilc1000: fix missing read_write setting when reading data (bnc#1012628). - staging: bcm2835-audio: double free in init error path (bnc#1012628). - ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper (bnc#1012628). - ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Gnawty (bnc#1012628). - s390/pci: fix sleeping in atomic during hotplug (bnc#1012628). - Input: atmel_mxt_ts - don't try to free unallocated kernel memory (bnc#1012628). - Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G (bnc#1012628). - x86/speculation/l1tf: Drop the swap storage limit restriction when l1tf=off (bnc#1012628). - x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init() (bnc#1012628). - KVM: x86: Use jmp to invoke kvm_spurious_fault() from .fixup (bnc#1012628). - arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible (bnc#1012628). - KVM: PPC: Book3S HV: Fix race between kvm_unmap_hva_range and MMU mode switch (bnc#1012628). - KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails (bnc#1012628). - platform-msi: Free descriptors in platform_msi_domain_free() (bnc#1012628). - drm/v3d: Skip debugfs dumping GCA on platforms without GCA (bnc#1012628). - DRM: UDL: get rid of useless vblank initialization (bnc#1012628). - clocksource/drivers/arc_timer: Utilize generic sched_clock (bnc#1012628). - perf machine: Record if a arch has a single user/kernel address space (bnc#1012628). - perf thread: Add fallback functions for cases where cpumode is insufficient (bnc#1012628). - perf tools: Use fallback for sample_addr_correlates_sym() cases (bnc#1012628). - perf script: Use fallbacks for branch stacks (bnc#1012628). - perf pmu: Suppress potential format-truncation warning (bnc#1012628). - perf env: Also consider env->arch == NULL as local operation (bnc#1012628). - ocxl: Fix endiannes bug in ocxl_link_update_pe() (bnc#1012628). - ocxl: Fix endiannes bug in read_afu_name() (bnc#1012628). - ext4: add ext4_sb_bread() to disambiguate ENOMEM cases (bnc#1012628). - ext4: fix possible use after free in ext4_quota_enable (bnc#1012628). - ext4: missing unlock/put_page() in ext4_try_to_write_inline_data() (bnc#1012628). - ext4: fix EXT4_IOC_GROUP_ADD ioctl (bnc#1012628). - ext4: include terminating u32 in size of xattr entries when expanding inodes (bnc#1012628). - ext4: avoid declaring fs inconsistent due to invalid file handles (bnc#1012628). - ext4: force inode writes when nfsd calls commit_metadata() (bnc#1012628). - ext4: check for shutdown and r/o file system in ext4_write_inode() (bnc#1012628). - spi: bcm2835: Fix race on DMA termination (bnc#1012628). - spi: bcm2835: Fix book-keeping of DMA termination (bnc#1012628). - spi: bcm2835: Avoid finishing transfer prematurely in IRQ mode (bnc#1012628). - clk: rockchip: fix typo in rk3188 spdif_frac parent (bnc#1012628). - clk: sunxi-ng: Use u64 for calculation of NM rate (bnc#1012628). - crypto: cavium/nitrox - fix a DMA pool free failure (bnc#1012628). - crypto: chcr - small packet Tx stalls the queue (bnc#1012628). - crypto: testmgr - add AES-CFB tests (bnc#1012628). - crypto: cfb - fix decryption (bnc#1012628). - cgroup: fix CSS_TASK_ITER_PROCS (bnc#1012628). - binder: fix use-after-free due to ksys_close() during fdget() (bnc#1012628). - cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader (bnc#1012628). - btrfs: dev-replace: go back to suspended state if target device is missing (bnc#1012628). - btrfs: dev-replace: go back to suspend state if another EXCL_OP is running (bnc#1012628). - Btrfs: fix deadlock with memory reclaim during scrub (bnc#1012628). - btrfs: skip file_extent generation check for free_space_inode in run_delalloc_nocow (bnc#1012628). - Btrfs: fix fsync of files with multiple hard links in new directories (bnc#1012628). - btrfs: run delayed items before dropping the snapshot (bnc#1012628). - Btrfs: send, fix race with transaction commits that create snapshots (bnc#1012628). - brcmfmac: fix roamoff=1 modparam (bnc#1012628). - brcmfmac: Fix out of bounds memory access during fw load (bnc#1012628). - KEYS: fix parsing invalid pkey info string (bnc#1012628). - powerpc/tm: Unset MSR[TS] if not recheckpointing (bnc#1012628). - f2fs: read page index before freeing (bnc#1012628). - f2fs: fix to update new block address correctly for OPU (bnc#1012628). - f2fs: fix missing unlock(sbi->gc_mutex) (bnc#1012628). - f2fs: fix validation of the block count in sanity_check_raw_super (bnc#1012628). - f2fs: sanity check of xattr entry size (bnc#1012628). - serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly (bnc#1012628). - media: cec: keep track of outstanding transmits (bnc#1012628). - media: cec-pin: fix broken tx_ignore_nack_until_eom error injection (bnc#1012628). - media: rc: cec devices do not have a lirc chardev (bnc#1012628). - media: imx274: fix stack corruption in imx274_read_reg (bnc#1012628). - media: vivid: free bitmap_cap when updating std/timings/etc (bnc#1012628). - media: vim2m: use cancel_delayed_work_sync instead of flush_schedule_work (bnc#1012628). - media: vb2: check memory model for VIDIOC_CREATE_BUFS (bnc#1012628). - media: v4l2-tpg: array index could become negative (bnc#1012628). - media: v4l2-fwnode: Fix setting V4L2_MBUS_DATA_ACTIVE_HIGH/LOW flag (bnc#1012628). - tools lib traceevent: Fix processing of dereferenced args in bprintk events (bnc#1012628). - MIPS: math-emu: Write-protect delay slot emulation pages (bnc#1012628). - MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3 (bnc#1012628). - MIPS: Ensure pmd_present() returns false after pmd_mknotpresent() (bnc#1012628). - MIPS: Align kernel load address to 64KB (bnc#1012628). - MIPS: Expand MIPS32 ASIDs to 64 bits (bnc#1012628). - MIPS: OCTEON: mark RGMII interface disabled on OCTEON III (bnc#1012628). - MIPS: Fix a R10000_LLSC_WAR logic in atomic.h (bnc#1012628). - CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem (bnc#1012628). - smb3: fix large reads on encrypted connections (bnc#1012628). - CIFS: return correct errors when pinning memory failed for direct I/O (bnc#1012628). - CIFS: use the correct length when pinning memory for direct I/O for write (bnc#1012628). - arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1 (bnc#1012628). - arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs (bnc#1012628). - ARM: dts: exynos: Specify I2S assigned clocks in proper node (bnc#1012628). - rtc: m41t80: Correct alarm month range with RTC reads (bnc#1012628). - KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled (bnc#1012628). - KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum (bnc#1012628). - KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state (bnc#1012628). - KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less (bnc#1012628). - KVM: arm/arm64: vgic: Fix off-by-one bug in vgic_get_irq() (bnc#1012628). - iommu/arm-smmu-v3: Fix big-endian CMD_SYNC writes (bnc#1012628). - arm64: compat: Avoid sending SIGILL for unallocated syscall numbers (bnc#1012628). - arm64: compat: Don't pull syscall number from regs in arm_compat_syscall (bnc#1012628). - parisc: Remap hugepage-aligned pages in set_kernel_text_rw() (bnc#1012628). - tpm: tpm_try_transmit() refactor error flow (bnc#1012628). - tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x (bnc#1012628). - spi: bcm2835: Unbreak the build of esoteric configs (bnc#1012628). - MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y (bnc#1012628). - commit 5978cc8 ==== kgeography ==== Version update (18.12.0 -> 18.12.1) Subpackages: kgeography-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Update Moscow federal city and oblast (kde#337964) ==== kget ==== Version update (18.12.0 -> 18.12.1) Subpackages: kget-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Set window icon in code instead of in the desktop file (kde#400367) ==== kgoldrunner ==== Version update (18.12.0 -> 18.12.1) Subpackages: kgoldrunner-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== khangman ==== Version update (18.12.0 -> 18.12.1) Subpackages: khangman-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kig ==== Version update (18.12.0 -> 18.12.1) Subpackages: kig-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix print preview in Kig ==== kimagemapeditor ==== Version update (18.12.0 -> 18.12.1) Subpackages: kimagemapeditor-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kiriki ==== Version update (18.12.0 -> 18.12.1) Subpackages: kiriki-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kiten ==== Version update (18.12.0 -> 18.12.1) Subpackages: fonts-KanjiStrokeOrders kiten-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix mem leak found by asan ==== kjumpingcube ==== Version update (18.12.0 -> 18.12.1) Subpackages: kjumpingcube-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== klettres ==== Version update (18.12.0 -> 18.12.1) Subpackages: klettres-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== klines ==== Version update (18.12.0 -> 18.12.1) Subpackages: klines-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kmahjongg ==== Version update (18.12.0 -> 18.12.1) Subpackages: kmahjongg-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix mem leak found by asan ==== kmines ==== Version update (18.12.0 -> 18.12.1) Subpackages: kmines-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kmouth ==== Version update (18.12.0 -> 18.12.1) Subpackages: kmouth-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kmplot ==== Version update (18.12.0 -> 18.12.1) Subpackages: kmplot-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== knavalbattle ==== Version update (18.12.0 -> 18.12.1) Subpackages: knavalbattle-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== knetwalk ==== Version update (18.12.0 -> 18.12.1) Subpackages: knetwalk-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kolf ==== Version update (18.12.0 -> 18.12.1) Subpackages: kolf-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kollision ==== Version update (18.12.0 -> 18.12.1) Subpackages: kollision-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kolourpaint ==== Version update (18.12.0 -> 18.12.1) Subpackages: kolourpaint-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== konquest ==== Version update (18.12.0 -> 18.12.1) Subpackages: konquest-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix mem leak found by asan ==== kpat ==== Version update (18.12.0 -> 18.12.1) Subpackages: kpat-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Correct help link for the new versions of KF5 (>52) (kde#402837) ==== kqtquickcharts ==== Version update (18.12.0 -> 18.12.1) - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== krdc ==== Version update (18.12.0 -> 18.12.1) Subpackages: krdc-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kreversi ==== Version update (18.12.0 -> 18.12.1) Subpackages: kreversi-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== krfb ==== Version update (18.12.0 -> 18.12.1) Subpackages: krfb-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kshisen ==== Version update (18.12.0 -> 18.12.1) Subpackages: kshisen-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== ksirk ==== Version update (18.12.0 -> 18.12.1) Subpackages: ksirk-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix crash when we delete element * Fix mem leak found by asan * Fix signal/slot * Fix mem leak found by asan ==== kspaceduel ==== Version update (18.12.0 -> 18.12.1) Subpackages: kspaceduel-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== ksquares ==== Version update (18.12.0 -> 18.12.1) Subpackages: ksquares-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== ksudoku ==== Version update (18.12.0 -> 18.12.1) Subpackages: ksudoku-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== ksystemlog ==== Version update (18.12.0 -> 18.12.1) Subpackages: ksystemlog-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kteatime ==== Version update (18.12.0 -> 18.12.1) Subpackages: kteatime-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== ktimer ==== Version update (18.12.0 -> 18.12.1) Subpackages: ktimer-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== ktouch ==== Version update (18.12.0 -> 18.12.1) Subpackages: ktouch-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix mem leak found by asan ==== ktuberling ==== Version update (18.12.0 -> 18.12.1) Subpackages: ktuberling-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kturtle ==== Version update (18.12.0 -> 18.12.1) Subpackages: kturtle-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * ci: enable freebsd and windows builds * ci: add gitlab CI configuration ==== kubrick ==== Version update (18.12.0 -> 18.12.1) Subpackages: kubrick-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== kwordquiz ==== Version update (18.12.0 -> 18.12.1) Subpackages: kwordquiz-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Use nullptr/override/explicit * Fix dialog layout * Fix mem leak found by asan ==== libkdegames ==== Version update (18.12.0 -> 18.12.1) Subpackages: kdegames-carddecks-default libkdegames-lang libkf5kdegames6 - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== libkeduvocdocument ==== Version update (18.12.0 -> 18.12.1) Subpackages: libKEduVocDocument5 libkeduvocdocument-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== libkmahjongg ==== Version update (18.12.0 -> 18.12.1) Subpackages: libKF5KMahjongglib5 libkmahjongg-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== libstorage-ng ==== Version update (4.1.75 -> 4.1.78) Subpackages: libstorage-ng-lang libstorage-ng-ruby libstorage-ng1 - merge gh#openSUSE/libstorage-ng#606 - Evaluating correct block size for DASD devices. (Workaround for a parted bug). (bsc#1089554) - 4.1.78 - Translated using Weblate (Indonesian) - Translated using Weblate (Spanish) - 4.1.77 - merge gh#openSUSE/libstorage-ng#605 - merge gh#openSUSE/libstorage-ng#604 - Relax check for luks correctness bsc#1120070, bsc#1101870 - Unit tests for the fix of bsc#1120070, bsc#1101870 - Merge to master: Relax check for luks correctness bsc#1120070, bsc#1101870 - 4.1.76 ==== lokalize ==== Version update (18.12.0 -> 18.12.1) Subpackages: lokalize-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * init kcrash so it works with kdeinit https://markmail.org/thread/zv5pheijaze72bzs * Fix compilation with -DQT_NO_CAST_TO_ASCII and enable it. ==== lskat ==== Version update (18.12.0 -> 18.12.1) Subpackages: lskat-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix tab order in name dialog ==== mbox-importer ==== Version update (18.12.0 -> 18.12.1) Subpackages: mbox-importer-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== nagios ==== Version update (4.4.2 -> 4.4.3) Subpackages: nagios-www - update to 4.4.3 * Fixed services sending recovery emails when they recover if host in down state (#572) (Scott Wilkerson) * Fixed a make error when building on the aarch64 architecture (#598) (Gareth Randall) * Fixed --with-cgibindir and --with-webdir to actually set values given (#585) (lawsontyler) * Fixed soft recovery states for services (#575) (Jake Omann) * Fixed XSS vulnerability in Alert Summary report (CVE-2018-18245) (Jake Omann) * Fixed services in soft states sometimes not switching into hard states (#576) (Jake Omann) * Fixed last_state_change to update when a state goes from soft -> hard state (#592) (Jake Omann) * Fixed Map link always being set to undefined host and don't show link for Nagios Process root note (#539) (Jake Omann) * Fixed notifications sending when services went into hard state on a down or unreachable host (#584) (Jake Omann) * Fixed log_host_retries not logging the host soft state checks (#599) (Jake Omann) * Fixed stalking_options N option to properly log only when a notification is actually sent (#604) (Jake Omann) * Fixed issue with service status totals being zero when servicegroup=all on servicegroup status page (#579) (Jake Omann) * Fixed escalation notifications logic and recovery notifications not going out (#582) (Jake Omann) * Fixed not finding child index causing duplicate hosts showing in the Map (#471) (Jake Omann) * Fixed Map configuration popup checkboxes not working and Root Node not populating (#543) (Jake Omann) * Fixed cleanup and deinit of neb modules on reload (#573) (Jake Omann) - rebase nagios-4.2.2-enable-ppc64le.patch (allow ppc64le builds in contrib Makefile) to: nagios-4.4.3-enable-ppc64le.patch ==== parley ==== Version update (18.12.0 -> 18.12.1) Subpackages: parley-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== perl-Config-IniFiles ==== Version update (3.000000 -> 3.000001) - updated to 3.000001 see /usr/share/doc/packages/perl-Config-IniFiles/Changes ==== perl-IO-stringy ==== - Use %license instead of %doc [bsc#1082318] ==== perl-Net-SSLeay ==== - Expose SSL_CTX_set_post_handshake_auth * https://github.com/radiator-software/p5-net-ssleay/pull/68 - add Net-SSLeay-1.85-Expose_SSL_CTX_set_post_handshake_auth.patch - Fix build on SLE-12 * apparently %autopatch needs to be followed by an empty line there ==== pim-data-exporter ==== Version update (18.12.0 -> 18.12.1) Subpackages: pim-data-exporter-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== pim-sieve-editor ==== Version update (18.12.0 -> 18.12.1) Subpackages: pim-sieve-editor-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== pragha ==== Version update (1.3.3 -> 1.3.99) Subpackages: pragha-lang pragha-plugins - Update to 1.3.99 (1.4 RC) * First implementation of Favorites as a playlist. * Sync favorites with Koel and Last.Fm. * New Visualizer plugin. Just thanks to Koel for the idea. * Use Alt+Return shortcut to edit the selected song. * Add progress indicator to the search entry while it works. * Remember last pane used on song info plugin. * Allows to customize the styles to the distro packagers. * Restore X11 session support. As fallback try to use dbus session manager. * Fix bad encoding on lastfm responses (gh#pragha-music-player/pragha#93) * Fix encoding on similar song panel. * Import Year from Koel if available. * Fix typo in autogen.sh. Thanks to acharjyanisankh. * Misc deprecation fixes and remove old code. - Update to 1.3.92 (1.4 beta3). * News: + Some improvements the recommendations panel. - New button to append all recommendations. - Can queue the songs with the Q key. * Bug Fixes: + Fix some memory leaks. + Fix some deprecation warnings. Issue #136. + Fix issue #139 "Similar songs" always shown. + Mitigate a lot of warnings introduced on pull request #131. + Ignore phones that are charging without mtp support. + Handle correctly when disconnect the phone cable. * Updated Translations: Arabic (new), Bulgarian, Danish, German, Catalan, Spanish, French, Indonesian, Korean, Polish, Portuguese, Portuguese (Brazil), Russian, Slovak, Chinese. - Changes in 1.3.91.1. * News: + Save lyrics and artist bio ans similar songs in user cache as files. - These are easily editable by the user. + Implement increse play count to Koel. + Various improvements to the tag editor dialog. - Add a header that highlights the main tags. - Update the header as you edit the tags. - Hides the check buttons and shows them when the tag is modified. - When you demarcate the check, restore the original tag. * Bug Fixes: + Fix plugins on last tarball due to an internal development patch. Issue #135. - Drop pragha-gtk_switch_set_state.patch: no need anymore. - Remove BuildRequires: ImageMagick, autoconf, libtool, pkgconfig(grilo-0.2) - Add BuildRequires: fdupes, rygel-devel, pkgconfig(grilo-0.3), pkgconfig(gupnp-1.0), pkgconfig(json-glib-1.0). - Improve plugins description. - Changes in 1.3.91. * News: + New Koel plugin that allow play music from this service. + Implements cache purge limited by size. 1GB by default. + Add option to "Add and Play" from library view. + Allows reordering the columns of the playlists. + New panel on info plugin that show recomendations from Lastfm. * Other Changes: + Use custom name for the panel icons. Issue #121. + Add a symbolic icon for panel. Not used by default. + Put cover arts cache to .cache/pragha/art. + Need Gtk >= 3.14. + Add "Search" hint to search entry. * Bug Fixes: + Fix Incorrect Can* properties of the MPRIS Specification. + Implement emit CanNext/Prev/Play/Pause/Seek. Issue #123. + Rename default playlist name from "Playlists" to "Tracks" on MPRIS2. + Fixes for Appstream Standard Conformance. + Add BUFFERING state to backend to allow stop on slow connections. + Fix some GtkDialog mapped without a transient parent. + Fix Build system can try to use grilo-0.2 and grilo-0.3 simultaneously. Issue #124. + Fix double unref on Ampache and Koel plugins. + Fix easy to miss dependency on exo-csource. Issue #128. + Try to improve filter response. + Silently ignore utf8 errors from last.fm reponces. Issue #93. + Try to improve open files dialog. - Changes in 1.3.90. * News: + New Ampache plugin. + Uses a new concept of 'provider' that allows show music from multiple collections independently. + New standard widget to display progress of long tasks. * Other Changes: + Allow apply a custom css. Related to Issue #64, #87. + Register session in GtkApplication now compatible with Xfce 4.14. + Implement disconect device action to mtp plugin. + Add backward compatibility to grilo. + Use a .ui file to define menu button. + Remove custom invisible char of lastfm password. + Dist pragha.ico/.rc needed to msys build. + Fixes some border, spacing and margins. * Bug Fixes: + Use same accel to show second sidebar that gnome-builder. Issue #73. + Fix Menu icon blured preferring non symbolic icons. Issue [#85]. + Fixing duration formatting. Issue #103. + Fix dnd over an empty place in the playlist. Issue #104. + Align to center the toolbar icons instead vertical fill. Issue #108. + Don't use keybinder plugin on wayland. Issue #118. + Fix a few of Gtk deprecations. + Misc fixes to Gtk 3.20 and GCC 6.0. + Valgrind: Fix a lot of memory leaks. + Fixed typo analized -> analyzed. + Fix spelling and grammar on README. + Consider all rows as fixed size. It is supposed to improve speed. * New Translations: Danish, Indonesian, Slovak. + A lot of updated translations. ==== python-kiwi ==== Version update (9.17.7 -> 9.17.1) - Bump version: 9.17.0 ? 9.17.1 - Little code styling fix - Fixed oem installer In the implementation of the ramdisk installer from SUSE/ramdisk_deployment(4fdeee3faa3) an error for the standard case was introduced such that the lsblk call was invalid. This lead to no devices being present for the installation. This patch Fixes #877 - Fix rsync call for filesystem images For filesystem images the rsync call was missing a finale slash for the source path causing the sync also the containing directory. With this change the filesystem image does not include the rootfs in any subdirectory. Fixes #875 - Add history metadata for container builds This commit adds the history section in contianerconfig. With it 'author', 'created_by' and 'comment' can be customized. In addition 'created' is always included with the image creation date time. 'created_by' entry is set to 'KIWI __version__' by default if nothing is provided. Fixes #852 - Bump version: 9.16.36 ? 9.17.0 - Change bundling of image formats By default none of the image formats were stored as compressed file. The reason behind this was the assumption that some formats automatically makes use of compression, which is true but only in their processing and not in their data blocks at creation time. Storage and handling of the image file itself becomes cumbersome and therefore we change the default bundle setup for image formats to be compressed. This means the image as it gets packed by KIWI needs to be uncompressed before use. The following image formats are affected by the change in a call of the result bundler: kiwi result bundle ... * qcow2 (.qcow2.xz) * vdi (.vdi.xz) * vhd (.vhd.xz) * vhdx (.vhdx.xz) * vmdk (.vmdk.xz) All other image formats already defined a custom bundling setup including compression and are not affected by this change. This Fixes #650 - Fixed firmware strip and lookup for kiwi initrd In a kiwi initrd the function baseStripFirmware can be used to strip down the firmware to the actually used kernel drivers in that initrd. The code to do this was broken due to the changes in #64cb5b003140a. This patch done by Ruediger Oertel <ro@suse.de> fixes the method to work correctly again. - kiwi-partitions-lib: wait for udev before lsblk A LVM-enabled oem image spuriously did not resize its PV / LVs. Tracking this down, I discovered that lsblk was sometimes racing with udev and the disk was just not available during get_partition_node_name(). Call udev_pending() before all lsblk calls to avoid that. (lsblk man page also advocates this to synchronize with udev) - Bump version: 9.16.35 ? 9.16.36 - Bypass Jekyll processing for github pages sphinx uses directories that start with underscores which Jekyll considers these to be special resources and does not copy them to the final site. - Bump version: 9.16.34 ? 9.16.35 - Revert last travis.yml change This reverts commit 7fb7e8c39fa861b6226d54e04483be8e96a5f8be. - Bump version: 9.16.33 ? 9.16.34 - Next try to fixup pypi deployment Reset to encrypted password hash which worked before - Bump version: 9.16.32 ? 9.16.33 - Move pypi secret to secure variable on travis - Bump version: 9.16.31 ? 9.16.32 - Use travis-sphinx to generate github pages doc The output from the sphinx build does not render css and java script correctly on github pages, thus switch back to travis-sphinx to generate that data - Bump version: 9.16.30 ? 9.16.31 - Move github token to secure variable on travis - Bump version: 9.16.29 ? 9.16.30 - Run pages deployment before pypi In addition update the pypi secret - Move travis references to .com domain - Bump version: 9.16.28 ? 9.16.29 - Arrange command test arguments to match py2 and py3 order Apparently dictionary keys are not sorted equaly in py2 and py3. While the code does not relay on command flags order the test command validation does. This commit ensures the umoci command is the same for both, py2 and py3, with all the flags in the same order. - Make process config arguments method static - Added oci_tools to package MANIFEST - Use the travis pages provider for doc deployment In the past we used the travis-sphinx script to deploy the documentation to gh-pages via the travis CI. However with the change to the travis github App we need to change this deployment into a real deployment stage of the travis setup - Fixed azurectl redirect in documentation - Bump version: 9.16.27 ? 9.16.28 - Added Deploy and Run System in a RamDisk docu - Refactor containerconfig xml evaluation This commit refactors the extracted data from containerconfig section to be tool agnostic. Related to #863 - Support ramdisk deployment in OEM images Using the rd.kiwi.ramdisk boot option enables the deployment into a ramdisk. If this option is enabled only ramdisk devices as provided by the brd kernel driver will be available for deployment - Apply OCI interface for container and root_import Instead of directly calling the container archiving tool, in this case umoci, the code has been changed to use the new OCI interface class. This Fixes #859 - Distinguish install and image dracut config This commit distinguishes the files that should be installed inside the image dracut only than the ones installed in both, in install initrd and image initrd. Fixes #858 - Added OCI tooling interface class An initiative to formulate industry standards around container formats and runtime is available at https://www.opencontainers.org Different tools to implement the specifications had been created. The purpose of this class and its sub-classes is to provide a common interface in kiwi to allow using all tools such that the container support in kiwi covers every linux distribution no matter what tooling was preferred. Related to Issue #859 - Warn on Modifications to intermediate config files Some files are taken from the host and managed as intermediate config files during the build of the image. Changes to those files during the build run by e.g a script will not become effective because the file gets restored. With this patch we detect the modification condition and throw a warning message such that the author of the image can adapt the description as suggested in the message. This Fixes #817 - Cleanup code to make flake8 happy The new version of flake8 is more strict on code checking and complained at several places. This commit fixes the code smells such that flake8 is happy again - Bump version: 9.16.26 ? 9.16.27 - Use %{ix86} rather than %ix86 in spec template Clear macro annotation prevents clarity issues - Fixed spec file for gfxboot requires Require gfxboot but only for the x86 architecture - Bump version: 9.16.25 ? 9.16.26 - Move the default rpm database path into Defaults class - Handle default uri mime type in Defaults class - Add a hardcoded rpm database path to import trusted keys This commits adds a hardcoded rpm database location to make sure the imported keys are in the expected location for zypper. Fixes #855 - Allow simple path source in Uri class This patch is needed as follow up fix for the setup of the package cache in local repositories. The is_remote method from the Uri class is used to identify if a repostory source is remote or local. At that point the initial repository source was already translated into its components. In case of a local repository the Uri instance now receives a simple path and the is_remote method raised with a style error. This patch allows the Uri class to be more friendly and initializes a local path as file:/ typed source. Related to Issue #847 - Bump version: 9.16.24 ? 9.16.25 - Add timestamp to logfile entries On the console output we use a log format with timestamps This is useful for the logfile contents too - sort package list which accompanies the image This makes it much easier to diff the lists of two images to find out the differences in package versions. - Don't cache packages from local repos for zypper Access to packages from local repositories is as fast as reading them from a cache location. The additional package copy and cache update is superfluous and should be avoided. This Fixes #847 - Bump version: 9.16.23 ? 9.16.24 - Update /etc/machine-id management docs Updates the information about how /etc/machine-id is treated in KIWI and provides some hints for old systems where /var/lib/dbus/machine-id is not a symlink to /etc/machine-id Related to #843 - Unpack root.tar.gz file for LVM integration test - Added LVM integration test build - Bump version: 9.16.22 ? 9.16.23 - Added machine id setup in dracut preparation In case of a dracut booted image we empty out the systemd machine-id configuration file to trigger the rebuild of that information by the dracut boot code at boot time. This allows for unique systemd identifiers if the same image gets deployed on different machines. This also makes the script implementations people put in in config.sh or images.sh to solve this problem obsolete. This Fixes #843 - Fix use of uri type in debootstrap call Referencing a file in a debootstrap call is done using the file:/ source type. However when using file:// debootstrap does something different and failed to find the file. The additional / had a bad impact to the call. - Bump version: 9.16.21 ? 9.16.22 - Delete obsolete rhel/fedora doc move With the fix to use the rpm macro consistently it is no longer required to move around the docs - Bump version: 9.16.20 ? 9.16.21 - Fixed package specs for dracut modules on fedora dracut-network is a separate package on Fedora/RHEL too - Add alternative search path for syslinux binaries On debian/ubuntu systems /usr/lib/ISOLINUX is a valid search path for syslinux binaries like isolinux.bin. This Fixes #839 - Fixed package doc install target The spec file uses the %{_defaultdocdir} macro but the corresponding Makefile target used a hardcoded path which lead to inconsistencies on debian/ubuntu based systems. This Fixes #838 - Fixed package specs for dracut modules on debian btrfs tools are provided by btrfs-tools package and not by btrfs-progs. In addition dracut-network is a separate package on debian/ubuntu based distributions. This Fixes #837 - Don't require gfxboot on rhel/fedora - Fixup zypper calls in documentation The way the documentation describes the zypper call to add a repository was wrong in several places. - Added gfxboot to required packages in spec kiwi calls gfxboot as tool when building live iso images. Thus this tool provided by the gfxboot package should be a requirement for kiwi - Bump version: 9.16.19 ? 9.16.20 - rebuild auto generated code with stable generateDS For some reason the xml_parse code generated by generateDS v2.29.24 caused warnings on simple type XSD patterns. Therefore I rebuild the code with the stable build version v2.29.14 which fixed that issue - Fixup README travis and codacy status badges - Adding bugfix trace for bsc#1110869 bsc#1108508 ticket was fixed with request #831 from SUSE/fix_uri_handler - Include livenet module with dmsquash-live support The upstream dracut dmsquash-live module supports network mode with the livenet module. But that module must be explicitly included and is not fetched automatically. This Fixes #827 - Bump version: 9.16.18 ? 9.16.19 - Rename private method to be more expressive - Add Codec utils for bytes literals decoding In case of a literal decoding failure it tries to decode the result in utf-8. This is handy in python2 environments where python and the host might be using different charset configurations. In python3 this issue seams to be solved. Fixes #829 and bsc#1110871 - Fixed URI handling with token query option So far only the query format ?credentials=... was supported. In case of ?random_token_data the returned uri was truncated and also the format check on the query caused a python trace. This Fixes #830 and Fixes #828 - Make use of the quiet flag of mountpoint command This commit sets the use of -q flag of mountpoint. Kiwi only checks the return code, thus any stdout is useless in this case. Fixes #829 - Eliminate redundant code Create a helper method, _create_volume_no_zero, which calls the lvreate command with appropriate options and calls the vgscan command immeditately afterwards to create any missing /dev nodes. - Fixed broken link to ec2uploadimg tool - Update contact information We moved from IRC to Matrix as chat platform. Thus the documentation needs to be updated accordingly - Fixes LVM based image creation in OBS While attempting to create LVM based images under the Open Build Service I recently ran into some issues related to the fact that there is no udev running in the chroot environment used to build kiwi based images. Two workarounds have been implemented in this patch: (1) When calling lvcreate, include the `-Zn` option to disable the automatic zeroing of the header of the newly created LV device; doing so requires that the LV device's /dev entry exists immediately after it has been created, but in a chroot'd environment udev isn't going to be running to automatically populate /dev/<vg_name>/<lv_name> or /dev/mapper/<vg_name>-<lv_name>. This should be safe to do since the LV is being created within a loopback device based partition, which is backed by a zero filled file, created by qemu-img. (2) After creating an LV we need to run `vgscan --mknodes` to create the required device nodes under /dev, which won't be automatically created since udev isn't running in the chroot'd environment. Unit tests updated to account for additional `-Zn` arguments that are being passed to `lvcreate` and for additional call that is being made to `vgscan --mknodes`. This fixes #824. - Bump version: 9.16.17 ? 9.16.18 - Create parent qgroup when snapper is present This commit creates a new parent quota group (1/0) of level 1 when btrfs_quota_groups is enabled and snapper present into the image root tree. Related to bsc#1093518 and #812 - Bump version: 9.16.16 ? 9.16.17 - Fixup make build target Don't include auto generated schema docs into the source tarball. Also cleanup MANIFEST.in from files no longer present in the repository - Bump version: 9.16.15 ? 9.16.16 - Disable warnings report from pytest By default pytest now generates warnings for all modules used in the tox environment. This information is nice but taints the test output of the code of this project and is therefore unwanted. - Bump version: 9.16.14 ? 9.16.15 - Customize latex output for look and feel - Update development doc chapter per review by Tom - Make volume id customizable for installation ISOs This commit makes volid attribute also available for OEM images. The installation media makes use of the volid value. Only posix safe names are allowed, up to 32 characters. Fixes #811 - Include PDF build of documentation to the package Bundle a PDF version of the online documentation with the rpm package build. Due to the complexity of getting a latex build environment into the travis CI which does not take forever to install, the bundling of a built PDF into the pypi archive has been skipped. Users installing from pypi would need to install a latex env on their machine and run make latexpdf from the installed bundle. This Fixes #819 - Update docs for setting up development environment Reference py3.6 when showing example tox call. Also delete a py version reference where it was not needed - Update kiwi tools README Delete obsolete entries for tools no longer present - Adding bugfix trace for bsc#1108508 bsc#1108508 ticket was fixed with bf556a96 and 77517cff commits. Just adding the ticket reference here. - Fixed disk detection for live iso in loopback grub If the live iso is used as a disk on e.g USB sticks and is configured to setup a persistent write space via the initrd option rd.live.overlay.persistent, it's required to find the disk device to create a write partition on it. This detection worked if the live iso is binary dumped on the disk and bootet due to the hybrid support each iso built by kiwi provides. However if the live ISO deployment should not destroy existing data on the disk there is an alternative setup which uses grub's loopback support and puts the iso as a file on some partition of the disk. In this mode the kiwi-live dracut module failed to find the disk device and could not setup a persistent write partition. - Bump version: 9.16.13 ? 9.16.14 - Fixed spec template Directory delimiter missing in call for install_dracut target - Bump version: 9.16.12 ? 9.16.13 - Make use of kiwi/utils/sysconfig This commit makes use the sysconfig kiwi utility in order to read and eventually update the /etc/sysconfig/snapper file. - Snapper configuration for btrfs quota support refactored This commit refactors the snapper configuration for btrfs quota support when btrfs_root_is_snapshot is enabled. The sysconfig file /etc/sysconfig/snapper is now taken into consideration. Fixes bsc#1093518 - Fixed overlay of intermediate config files Some config files e.g etc/hosts needs to be temporary copied from the buildsystem host to the image root system. This is done by a custom copy with the .kiwi extension and a symlink to that file. During the installation process the package manager either overwrites the file or creates a .rpmnew variant. In case a .rpmnew variant exists there is code in kiwi which restores that .rpmnew variant to become the real file. However that _restore_intermediate_config_rpmnew_variants() method runs after overlay files has been applied to the system because it's part of the final cleanup step. In order to preserve an eventual overlay version of the file the .rpmnew variant gets only restored if the real file does not exist. This Fixes #807 - Fixed dice documentation The chapter: Building in a Self-Contained Environment holds a fixed ruby version in the package install which was outdated. It also still referenced the container as tar.xz but we have changed to uncompressed containers by default a while back - Fixed filesystem builder use of exclude list kiwi defines a global Defaults.get_exclude_list_for_root_data_sync method but it was not used in the scope of the filesystem builder. Thus this builder was missing the exclusion of the .buildenv file. This references Issue #422 and Fixes #814 - Enhance /etc/snapper/configs/root file parser - Fix quota groups management when snapper is present * Fixes the config file path if root is snapshot * Uses the correct QGROUP="<group>" syntax * Do not overwrite the config file if already present Fixes bsc#1093518 - Separate dracut module install by Makefile target The dracut modules like kiwi provides it should not be part of the default install target. If kiwi gets installed from source or via pip all dracut code gets installed on that system which is unwanted and in the worst case leads to boot trouble next time this system rebuilds its initrd via dracut. Therefore an extra Makefile target which is used in the spec of an rpm but not in the install target of setup.py is provided in this commit. As a consequence the installation from pip will not install any dracut modules on that system which is intentional. Installing from source requires to run make install_dracut which if called assumes the caller knows what he/she does :) - Bump version: 9.16.11 ? 9.16.12 - Follow up fix for skip_cleanup use make sure doc_travis tox target has created the manual pages such that the environment contains this data - Bump version: 9.16.10 ? 9.16.11 - Use skip_cleanup for deploy stage in travis We need the tox build environment to run the deployment - Bump version: 9.16.9 ? 9.16.10 - Follow up fix for deploy target Integration of man pages must be done as part of the sdist setup because the travis pypi deployment only uses the sdist target to bundle the sources - Bump version: 9.16.8 ? 9.16.9 - Fixed deploy target As part of the deploy process in travis a bundle to pypi is uploaded. The bundle is missing the compiled manual pages because the doc_travis stage did not create them. - Bump version: 9.16.7 ? 9.16.8 - Update pxe server setup documentation Delete the suggested modifications to /etc/sysconfig/atftpd and trust the defaults provided by the package - Added support for system wide config file If there is no user specific config file we are also looking for a system wide /etc/kiwi.yml file - use more meaningful variable names - Fix baseStripUnusedLibs config method This commit arguments handling of the baseStripUnusedLibs that was not prepared to handle quoted variable containing a list. Fixes #798 - Added doc chapter for remote live boot - Added support for pxe live boot via AOE The live ISO should support a network reference. We are using the Ata Over Ethernet protocol to achieve this. In combination with pxe boot of the kernel/initrd a live iso can boot from the network using the following parameter example: root=live:AOEINTERFACE:e0.1 rd.kiwi.live.pxe Export of the live iso file via AOE can be achieved using the vblade toolkit which needs to be available on the exporting system and compatible with the live operating system. This Fixes #796 - Run schema validation/update per XSL stylesheets - Added XSL stylesheet to auto update schema Drop oem-ataraid-scan from oemconfig if specified - Update vagrant doc chapter redirect links - Drop oem-ataraid-scan from schema Along with the change we pin generateDS version to 2.29.14 because the newer version (2.29.19) creates broken python syntax for elements with a value list for their content like it's the case for the packagemanager element. The tool uses the name k.packagemanager.content as class name which is invalid for python. - Delete dmraid aka: softraid soft/fakeraid support In fate#323743 the decision was made to drop dmraid from the distribution. Along with the low business case for those controllers and the support for linux softraid via mdadm we also drop the support in kiwi for oem-ataraid-scan - Fixed unresolvables in EC2 integration build For some reason libyui-ncurses-pkg8 is gone now - Fixed unresolvables in integration builds For some reason libyui-ncurses-pkg8 is gone now - Bump version: 9.16.6 ? 9.16.7 - update vagrant doc chapter per review by Tom - Added vagrant setup chapter in the docs Document steps to create a vagrant box for the libvirt provider. Also provide information on provider support This Fixes #792 - Use xattr 0.9.3 Latest xattr is broken on pip - Fixed make obs_test_status The helper script .obs_test_status looks up the build results from the integration tests. With the introduction of multibuild integration tests the script has to apply some modifications to get the correct results This is related to Issue #791 - Bump version: 9.16.5 ? 9.16.6 - Fix result bundle command This commits fixes a regression introduced in 98c9c77a - Bump version: 9.16.4 ? 9.16.5 - Fixup validation of boottimeout attribute If boottimeout is set to zero it is evaluated as "not set" and the default applies. However it's a fairly well approach to set a zero second boot timeout. This Fixes #789 - Add build tests for CentOS - Do not replace version from the image name This commit makes sure that replacing version to version plus the build id on resulting files happens only on version suffixes. Before that if image name was including the version string it, this part was also replaced. Fixes #787 (bsc#1102868) - Extending result bundle task tests to better cover corner cases This commit adds some tests to better cover a couple of cases: * image name contains the version of the image * the file in result does not include the version - Cleanup misleading error message In root_bind if the cleanup failed to remove a directory hierarchy the error message was just displaying the path as it would be on the host root and not based on the root of the image root tree. - Modify python-yaml dependency for CentOS and RHEL 7 This commit fixes #785 - Do not run Codacy analysis on tests - Fixup DiskFormatOva implementation The inheritance and super call concept used in this class destroys the OO design concept of loosely coupled code and also leads to a broken build because it bypasses the post_init constructor called by the base class - Exclude tests in codacy analysis - Bump version: 9.16.3 ? 9.16.4 - Added grub2 module packages for GCE test build - Fixup timezone and keytable setup for GCE build - Second round of package fixes for GCE test build - Update schema for GCE build test to latest version - Fixup package list for GCE test build - Added Google Compute Engine build test - Deleted obsolete landscape setup Code quality is checked via codacy now - Rebuild schema documentation - Fixed building VMware images with pvscsi adapter Qemu does not natively support the pvscsi adapter type. However there is a VMware suggested procedure which allows to change the lsilogic setup to pvscsi inside of the DDB of a formerly created lsilogic configured image format. This patch implementes that procedure and Fixes bsc#1099569 - Rebuild schema documentation - Bump version: 9.16.2 ? 9.16.3 - Fixed name of checksum file for pxe type The pxe image build generates among others a checksum file with the suffix '.md5' This file is read by the legacy netboot code and is expected to have the same basename as the image file itself. However if the compressed attribute is set the image file name is set to 'image.xz' and the checksum is named 'image.xz.md5' which is wrong because 'image.md5' is expected. This patch makes sure the checksum file is always set to 'image.md5' no matter if the compressed flag is configured or not - Fixed custom_args argument assignment in BootImage custom_args has been deleted from BootImageKiwi class but was still passed in the Factory - Added runtime check for label use Added check_volume_label_used_with_lvm to check if custom volume labels are used in the scope of LVM - Fixed GCE image file name In former times Google requires the image name to follow their naming conventions. However that seems to have changed and it is no longer required to match a certain pattern. Thus this patch changes the output name of the GCE tar file to use the same naming schema as KIWI applies to its output files - Add codacy.yml config file - Move from landscape.io to codacy.com - Updated Travis check icon to forked project - Support label attribute in volumes The optional label attribute in a volume section allows to specify a filesystem label for the selected volume. The label setup will have no effect on filesystems which implements their own volume management like it's the case for btrfs. This Fixes #738 - Update schema tron rules for btrfs type attributes The btrfs_* attributes only applies for vmx and oem types - Fixed some code smells * Use of unused variables, and dangerous defaults * Update of design patterns on pylint and landscape - Add support for activation of btrfs quota groups If the new type attribute btrfs_quota_groups is set to true this will enable the quota group system for btrfs based systems. This Fixes #772 and bsc#1093518 - Improve coding style, tests and label format validation - Add '--add-container-label' flag This commits adds a command line flag to add a label for container image types. The flag can be used multiple times. Fixes #770 - Added system cleanup methods Some files in the system gets created by services like systemd or zypper and are meant to be created once on the target system. However in the image they might be unwanted. Thus this commit adds convenience methods to delete files which gets automatically re-created by the services on startup. Whether or not the methods are used is in the responsibility of the author of the image descripion. This Fixes bsc#1098535 - avoid double quoting of disturl in label (...="'obs://...'"). avoid always printed warning of missing disturl make use of disturl variable - Bump version: 9.16.1 ? 9.16.2 - Simplify configfile loading prefix and root variables are correctly set, thus calling the "normal" command has the same effect than the explicit call for "configfile" - Prevent building custom efi image If the distribution provides a prebuilt efi image kiwi should use it instead of building its own image. - Bump version: 9.16.0 ? 9.16.1 - Avoid module loading in grub config template This patch is two fold. First part replaces the import of dedicated video modules in the grub image by the all_video module. Second part avoids runtime module insertion which requires access to the boot filesystem which is not guaranteed on sophisticated rootfs structures like btrfs plus readonly snapshots and what not. Thus we make sure all boot code is embedded into the grub image(s) and no extra loading of modules at runtime will be needed. This Fixes bsc#1096937 - Fix for bsc#1094788 This is just an empty commit to include the bugfix reference in the repository history. The bugfix for bsc#1094788 was actually commited in: commit 835cebfe5c488515dfbcdf33dab6262613ca5508 Author: Marcus Sch�fer <ms@suse.de> Date: Tue May 29 16:42:55 2018 +0200 - Complete GUID change from signed to unsigned Follow up fix to complete the binary packing of the GUID format to use unsigned types. Missed to move short source from signed to unsigned. This Fixes bsc#1095267 - Bump version: 9.15.4 ? 9.16.0 - Move fedora integration test build to fc28 distro - Use the versioned Python interpreter path to run build helper scripts The kiwi build process mostly does the right thing in terms of executing with the correct Python interpreter throughout the build process, with the exception of the Makefile not correctly locating the versioned Python interpreter executable path, and the bash completion generator being executed using '/usr/bin/python' without regard for what the target environment was. This is a problem when a build environment complying with PEP 394 as it stands today does not have Python 2 installed, such as when kiwi is being built as a Python 3-only package in Fedora. Thus, the Makefile has been adjusted to not only correctly locate the versioned Python interpreter, but to also execute 'completion_helper' with the correct interpreter. Additionally, a trivial change to the shebang to 'completion_helper' was made to be consistent with other Python-based build helper scripts. This is part of the overall effort to eliminate the dependencies on Python 2 in Fedora. Reference: https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - Bump version: 9.15.3 ? 9.15.4 - Fixup move_to_root method move_to_root is called to check each element of a given list and changes any path specification to a valid path if the given root path would be it's root(/). This tranformation implied the creation of paths containing double slashes like //foo which was considered harmless. However it has turned out that the dnf package manager makes a difference here which requires to fix the resulting paths. This Fixes #761 - Adding license tag under description tag in schema This license tag does not effect the resulting image in any way. The tag is just included to state the license of the kiwi image sources in case they are distributed. Fixes #728 - Make sure profile env is included in live images For all images which boots via dracut the .profile file is included except for live iso's because no information is needed from that file to boot or customize the boot. However the .profile contains the kiwi_revision information which is useful for any image type. This Fixes #755 - Add config-cdroot to description import list During the prepare step the image description and mandatory files needed in the create step are copied into the image root system below the image/ directory. In case of the optional config-cdroot archive this copy action was missing which lead to the problem that the archive was not present if the kiwi system create command is sequence is used. This Fixes #756 - Added true module to grub image list When kiwi creates a grub image a list of modules are embedded. For the purpose of snapshot boot the true module seems to be used but was not included at build time when kiwi created the grub image. This Fixes bsc#1093917 - Changed GUID format from signed to unsigned With reference to Microsoft Guid constructors it seems unsigned values are allowed which could exceed the value range of the binary unpack used in kiwi. This Fixes bsc#1095267 - Fix SC2164 complain of shellcheck - Updating shellcheck call from tox Recent shellcheck versions are more strict and complain about backslashes "\" used in literals claiming it is preferred to use double backslashes "\\". As is just a styling advise and we use backslashes in multiple commands (echo, sed, etc) I believe this can be ignored. - Relax runtime check for ISO images using dmsquash This commit relaxes the dracut-kiwi-live module requirement if dmsquash dracut module is selected in flags attribute. - omit multipath module in live iso initrd The multipath module creates device maps which puts the device in a busy state and prevents the creation of a persistent write partition. As multipath seems never useful for the root of a live iso image we generally omit this module from being included - Fixup LOADER_LOCATION in sysconfig/bootloader By default we always set LOADER_LOCATION=mbr which is wrong if EFI is in use. This patch updates the value to be correct. It also seems that this variable is only consumed by the yast2 bootloader module from past days. Thus we consider it obsolete and on the to be droped list in future releases. This Fixes #746 - Bump version: 9.15.2 ? 9.15.3 - Fix setup of LOADER_TYPE in sysconfig/bootloader LOADER_TYPE value for the grub2 bootloader depends on the use of EFI. This Fixes bsc#1094883 - Added documentation for config-cdroot archive - Added support for config-cdroot archive The image description now allows an optional file named: config-cdroot.tar[.compression_postfix]. The file gets unpacked as user data for live and install ISO images. This allows users to add e.g license files or reference documentation to the ISO image. This Fixes #737 - Verify file does not exist before creating symlink - Add service dependencies in generators Correctly adding the initrd-root-fs.target service dependency to auto generated sysroot.mount for kiwi-live and kiwi-overlay dracut modules. Fixes #741 - Do not create static dev nodes in root init For compatibility reasons kiwi created a set of static device nodes when initializing a new image root system. With the presence of devtmpfs this should no longer be needed. In addition the static dev node setup now also causes problems on filesystems like btrfs which was the reason to delete this code now. This Fixes bsc#1087104 - Do not delete uncompressed base docker images Fixes #739 - Bump version: 9.15.1 ? 9.15.2 - Fix zypper add lock operations This commit fixes the arguments passed to zypper in add lock operations. - Add correct GPL-3.0-or-later license Add the correct license reference in the spec License field Fixes #732 - Make container compression a configuration option Change the ContainerBuilder class to evaluate on the configuration options to decide if the container archive should be compressed or not. By default the archive will be compressed, thus there is no change to the former behavior but can be setup in ~/.config/kiwi/config.yml as follows: container: - compress: none|xz This Fixes #725 - Return file name after archive or compression call Extend the ArchiveTar and Compress classes such that their archiving and compression methods returns the result file name after the operation - Allow docker root import from uncompressed file Check the given file name for its compression format and only uncompress if a supported format could be detected. This Fixes #730 - Add additionaltags containerconfig attribute This commit adds `additionaltags` attribute, so multiple tags to a container image can be defined in a comma separated value. Fixes #713 - Bump version: 9.15.0 ? 9.15.1 - Add a chapter for uninstall package requests in docs (#726) Add a chapter for uninstall package requests in docs - Update arm integration test Existing panda build was outdated and non functional. Move the test to a more popular target and write the image description to use technology matching the suse arm development effort. Target is now Rpi(64bit) - Use latest version of sphinx Formerly sphinx==1.6.7 was used because travis-sphinx failed with latest sphinx. Now travis-sphinx fails with 1.6.7 and I hope using latest sphinx will fix that - Bump version: 9.14.7 ? 9.15.0 - Add comment in pinch_system calls - Refining the uninstall type implementation - Add uninstall pacakges type This commit adds a new `uninstall` type for packages. Packages listed with this type will be removed by the package manager cleaning also any unneeded dependency. The removal is executed after running `config.sh`. Also in this commit `delete` type for packages is now executed after `uninstall` packages, meaing it also happens after `config.sh`. Fixes #625 - Bump version: 9.14.6 ? 9.14.7 - Some simple code cleaning - Fixed check for volume group in use The former implementation evaluates the output of the vgs command and set the volume group as in use if one of the listed volume groups on the host contains the group name set by the image description. This would also match if the group name set in the image description is e.g 'System' and the a volume group on the host with name 'SystemVG' exists. However a conflict only exists on exact match of the name. The proposed fix is to use the --select feature from vgs and let it show information on exact match of the vg_name field. The code in kiwi then just evaluates if the selection by vgs has a value or not. This Fixes #721 - Fix setup of kiwi_lvm profile variable kiwi_lvm was always set to true if a volume management system is in use. However it should only be set to true if the selected volume management system is lvm. The same applies to the kiwi_lvmgroup variable which also only makes sense if the lvm volume management system is used. This Fixes bsc#1090427 - Bump version: 9.14.5 ? 9.14.6 - Extend test-image-azure integration test Use xfs as filesystem and set a tag to also test image tags - Use /dev/zero to really write a zero byte The cleanup of the 512 byte block for the vhdfixed tag was based on reading from /dev/null which does effectively nothing. As the block should be filled with zero bytes this patch changes the source from /dev/null to /dev/zero This was found by tests to reproduce the issue reported in bsc#1090953 but is not causing it - Add test for the utils class StringToSize This commit adds a couple of unit tests for the StringToSize class. - Bump version: 9.14.4 ? 9.14.5 - Run doc target in travis test stage - Fixup doc conf.py Do not load kiwi logging which is unneeded and causes many superfluous messages on the console when sphinx build runs - Fixup docstring warning from sphinx build - Fixup travis unit test stages Build docs in deployment stage only - Include doc_travis_deploy in travis deploy stage - Fixed syntax errors shown by travis lint - Revert "Fixup travis.yml" This reverts commit 79ccbdff394e2aba4f1e8fb6390a9a8e0d1925e2. - Revert "Yet another try to get travis stages correct" This reverts commit aca057c3554795b79c651f63a58967138d00f3c8. - Yet another try to get travis stages correct - Fixup travis.yml Looks like empty lines are not allowed - Revert "Clearly separate unittest stage from deployment" This reverts commit 5fd27924c931b6b60903b0015d0a8cf31cf499f7. - Bump version: 9.14.3 ? 9.14.4 - Some improvements on size calculation This commit simplifies the unpartitioned area size calculation. Fixes #709 and it is related to fate#323874 - Clearly separate unittest stage from deployment - Use travis stages feature for pypi deployment Problem ist that the deploy section is called for every item in the former matrix: setup. This means the pypi upload was triggered twice for the same archive which means one target always fails. In order to deploy only once travis provides a stages feature which is used in this commit - Bump version: 9.14.2 ? 9.14.3 - Adding unpartitioned size attribute This commit adds the possibility of setting some unpartitioned area after the systemdisl partition into the image. Fixes #709 - Fixed creation of machine settings file If no vmnic setup is present a request to iterator over a NoneType object is attempted and failed. This Fixes #710 - volume_manager API docs cleanup - repository API docs cleanup - system API docs cleanup - package_manager API docs cleanup - build API docs cleanup - Fixed docstring :rtype: values In Python the string type name is str not string - Cleanup of the iso_tools API docs - Cleanup of the utils API docs - Cleanup api doc strings This cleans up and fixes the api documentation for the public interface of the projects boot source code files and Fixes #700 - Cleanup of the solver API docs - Fixup docstring typos per review - Cleanup api doc strings This cleans up and fixes the api documentation for the public interface of the projects storage source code files and Fixes #698 - Fixup download url in setup.py Better point to installable packages. This Fixes #702 - Cleanup api doc strings This cleans up and fixes the api documentation for the public interface of the projects toplevel source code files and Fixes #697 - Fixup creation of vmware settings file The kiwi schema allows for multiple vmnic sections but kiwi only took the primary one into account. This patch uses all configured vmnic sections. This Fixes #688 - Support lookup for fstab.append on fstab creation At the time kiwi creates the fstab with all required fields to boot the system it now also looks for an optional fstab.append file and appends its contents to the fstab file. This allows to setup custom fstab entries for filesystem mounts which are established outside of the kiwi image building process by e.g a service at first boot - Add auto release to pypi on release tags This will automatically release kiwi on pypi if a new tag in master is set. This happens when bumpversion is called followed by a push and push --tags. Only if the tag is pushed the travis deployment gets triggered. This Fixes #678 - Change variable quoting for Rm/Rpm shell helpers The two methods exists to overlay their call with a logging facility. Thus it is ok and expected that the caller can pass arguments for the program e.g (Rm -rf foo) which resulted in (rm '-rf foo') leading to a runtime error. - Bump version: 9.14.1 ? 9.14.2 - Fix default initrd_system values This commit fixes the default initrd_system value for some image types. Since this value is included in profile and potentially taken into account for some of the config script functions, it is important to have consistent values even when the image type has no initrd choice or it doesn't have initrd at all. Related to #689 - Check partition table after cow part creation Proceed with the persistent write partition setup only if the cow partition could have been created successfully - Fixed detection of disk node in live iso images If the live iso is booted as disk the initrd code needs to find the correct disk node pointing to the iso image. This was formerly done by checking if the populated disk devices contains an iso header with an application id. The information was obtained using the isoinfo tool. isoinfo is a tool provided by the obsolete and xorriso replaced cdrtools kit. In addition the lookup was unsafe because any iso with an application id would have been valid. Thus this patch changes the detection mechanism to use the volume id as it is used in the root assignment on the cmdline. The volume id is populated as device label for the assigned block device and can therefore be used as a unique id. The volume id itself is a configuration option in the image XML description. If not set the default is 'CDROM'. The information can be obtained via blkid and therefore also eliminates the isoinfo requirement - Fixup test-image-docker unresolvable state genisoimage seems no longer present in the distro - Update etc/default/grub setup kiwi writes optional grub boot parameters to the GRUB_CMDLINE_LINUX variable in default/grub. This information is then picked up by grub2-mkconfig and written to grub.cfg However there is also another variable named GRUB_CMDLINE_LINUX_DEFAULT which according to the documentation should be used preferably. While it does not seem to matter for grub it matters for yast. Thus this patch changes the configuration variable and fixes bsc#1084117 - Bump version: 9.14.0 ? 9.14.1 - Fixed truncation of image when writing vhd tag When writing the vhd tag into a vhdfixed formatted image the image was opened with the wrong open bits 'wb' and thus was truncated at the 64k offset. This patch fixes the open bits to allow in-place tag writing. This Fixes bsc#1077096 - Make use of autoremove in Yum and Dnf to clean dependencies - Enable no forced deletion for dnf, yum and apt package managers This commit makes apt, yum and dnf support equivalent to zypper in terms of being capable to delete packages using the package manger tools (implies dependencies deletion is handled by the package manager) or deleting explicitly only listed packages using packager tools even if this implies breaking dependencies. - fix vmx fileName parameter, bsc#1084157 - Update schema version in free schema doc generator - Update schema version in headline of doc chapter - Bump version: 9.13.9 ? 9.14.0 - Rebuild online schema documentation - XSL Auto update descriptions due to schema change - Delete obsolete hybrid attribute from type Any iso image we create will be a hybrid image. That was already the default for any install iso image and was a configuration option for live images. The optional selection only existed for systems which do not provide tools to make an iso hybrid. All distributions kiwi supports provides this capabilities and there is no good reason why a live or install iso should not be hybrid and bootable as iso and as disk. Also the boot in disk mode became the preferred boot method for the majority of our users which requires to provide a hybrid iso - Add efiparttable type attribute This commit allows to choose the partition table type for efi firmwares using the efiparttable type attribute. Fixes #638 - Update spec file to require xorriso - Cleanup hybrid call and use of iso tool options The extra isohybrid call is only needed if the mkisofs tool category is used. Thus it should be only visible at the place where the isofs is created and not as an extra step in the builder tasks. Additionally the handling of extra options was mkisofs specific and should be better done as a common meta_data record. The tool specific options should only appear in the tool specific class implementations - Allow to configure iso tool category Switch to xorriso by default but allow to setup cdrtools in the runtime configuration file - Remove xml_parse.py shebang in spec It removes the shebang from the autogenerated file and also removes the exception in rpmlint to ignore non-executable-script warning. Fixes #666 - Remove unneeded shebangs from dracut modules Fixes #668 - Added IsoToolsXorrIso class As an alternative to mkisofs/genisoimage there is now the IsoToolsXorrIso class which implements the IsoTools interface by using xorriso. This Fixes #635 - Update package MANIFEST.in Include new iso_tools directory - Added iso_tools api documentation - Add list_iso method to iso_tools api - Update FSF address The address has been taken from the header example published here https://www.gnu.org/licenses/old-licenses/gpl-2.0.html Fixes #667 - Add create_iso method to iso_tools api - Seperate iso tool handling into its own namespace The Iso class only provides generic helper methods around the creation of ISO filesystems. For the creation of the filesystem itself we encapsulate the tool parameter handling into its own class. For the option compatible mkisofs/genisoimage tools the IsoToolsCdrTools class exists. This allows to create e.g IsoToolsXorrIso class as a future implementation - Refactor iso helper tools There are several tools available to build iso images. genisoimage, mkisofs and also xorriso. The history of the tools shows them to be used in the range of available Linux distributions. Thus kiwi contains an abstraction layer to support them but assumed they are option compatible. With the xorriso implementation this is no longer correct and therefore a refactoring of the iso tools api is required before support for xorriso can be added. This references Issue #635 - Make build type mandatory in XMLState - kiwi_inode_size value is no longer hardcoded in more than one place - Add warning message for dasd - Rearrange defaults and some comments - Rearrange variable start_sector attribute to be a Partitioner attribute - Add disk_start_sector type attribute This commit adds the disk start sector attribute to configure the first disk sector for the first partition of the disk. Fixes #575 - Rebuild online schema documentation - Bump version: 9.13.8 ? 9.13.9 - Bump version: 9.13.7 ? 9.13.8 - Fixed base package requires kpartx is used by kiwi but was not required in spec - Update gitignore Do not manage changes in .pytest_cache - Tell plymouth to quit only if a dialog is called In case of a dialog kiwi uses the dialog program which conflicts with the plymouth splash system. Thus we tell plymouth to stop This patch changes the request to be send to plymouth prior to a dialog call and not in general - Bump version: 9.13.6 ? 9.13.7 - Update bootloader console for oem test image Set bootloader_console="serial" for the oem test image to allow testing in the Kanku CI - Add profile dependencies With this commit the profile can include other profiles as a dependency. This way it is possible build an image defined by multiple profiles by just calling a single composed profile from the command line. Fixes #658 - Bump version: 9.13.5 ? 9.13.6 - Disable multipath from oem build test - Fixup setup of root_filesystem_is_multipath The variable is set to a boolean value or None. If set to False due to a configuration of oem-multipath-scan this will cause the dracut multipath module to be omitted. In any other case the presence of the multipath module decides whether it will be included into the dracut generated initrd or not. - Fixup python-kiwi base package requires There is no need for the base package to require multipath. Those tools are only needed for dracut modules - Use dracut modules based on feature use As the kiwi build dracut initrd is a generic one which includes all installed dracut modules we missed a way to exclude modules from beeing incorporated even if we know it would not be needed. One example is the multipath module which would only be useful if the oem multipath scan is configured in the image description - Update test-image-oem build Create hostonly dracut initrd on first boot and replace kiwi's grub config by the result of grub2-mkconfig - Delete invalid motd file from build tests - Prepare test-image-oem build test for Kanku Activate unattended mode and preselect the installation target Also specify a fixed swapsize value to be independent of the host main memory which is used to calculate swap if no size is specified - Bump version: 9.13.4 ? 9.13.5 - Fixed btrfs search path in earlyboot script If kiwi generates its own efi image for the boot process it does not setup the btrfs relative path setup in the earlyboot script embedded into the generated efi image. This has a bad impact on the file search because the btrfs setup done in kiwi puts root below the @ volume which we then need to specify of the relative lookup is not activated. Fixes bsc#1082155 - Bump version: 9.13.3 ? 9.13.4 - Use LABEL for the swap partition If multipath and device maps are active the fstab entry should use the LABEL reference. Systemd calls swapon and it only works properly with multipath devices when LABEL reference is used or calling directly on the /dev/dm-* device file. - Bump version: 9.13.2 ? 9.13.3 - The order of the options for mkisofs matters Setting -eltorito-platform after -b causes mkisofs to fail - Resize partition table after image resize The command 'kiwi image resize' allows to resize the size of a disk image. Depending on the partition table type it is also required to resize the partition table inside of the image to let the file size change become effective This Fixes #534 - APT: Support patternType in the bootstrap phase With patternType="onlyRequired" (the default), run debootstrap with --variant=minbase to install only essential packages. With patternType="plusRecommended", let debootstrap also install important packages. This is not exactly what the patternType keyword means with other targets, but it allows to choose between an absolutely minimal image and a small but usable system. - Bump version: 9.13.1 ? 9.13.2 - Reactivate device mappings after repart. Fixes #645 This commit recreates removed device maps and triggers again systemd generators in order to adapt again device units to the new context. Fixes #645 - Refactor ovftool check The way this was done mask errors from the call with the check if the tool exists on the host. This patch refactors this and makes clear where we check for the tool to be installed and where we actually call it - Extend has_option_in_help to also check error data - Check if isotool supports eltorito-platform option Along with the change there is a small refactoring to populate the iso tool search to the public api of the Iso class - Set eltorito-platform for efi The default eltorito platform is set to "x86_64 PC", however in an alternative bootloader spec for efi this would be the wrong platform spec. This patch adds the correct platform to the alt-boot setup for efi. References #643 - Fixup obs test status helper Use osc results output to get better status information - Fixed get_free_disk_bytes in dracut kiwi-lib The method used any device from the lsblk output, but it can happen that some device nodes with different name point to the same physical device. The method would then calculate the free space wrong. This patch takes the PARTUUID value into account to make sure any partition device size is used only once. This Fixes #648 - Use pytest instead of py.test From pytest 3.0, it is recommended to use "pytest" as the main command. The use of "py.test" is deprecated and is potentially removed in the future. - Update tox setup Add python 3.6 target and activate it for the travis and the local make targets Use major python version for the check(flake) and doc targets where the interpreter minor version is not primarily important This references #641 - Update yast setup documentation Incorporate changes per review by Tom - Fixed oem build test bind-utils explicitly required for obs to be able to resolve the package dependencies - Bump version: 9.13.0 ? 9.13.1 - Only delete sub path if not empty - Fixed package lists for azure and ec2 build tests - Reference commit for bugzilla With regards to the changes done in Issue #637 this commit just creates a reference to a related bug bsc#1082163 - Cleanup config functions shell coding - Use mkisofs instead of wodim - Delete obsolete/unused methods - Add functions.sh to shellcheck - Added doc page how to setup yast on firstboot - Allow arch attribute for profiles specification A profile could be relevant for only a specific architecture. There was no way to express that in the XML description. With the change in this commit a specification like the following is possible: <profiles> <profile name="A" description="..." arch="aarch64"/> <profile name="B" description="..." </profiles> Profile A is only usable on the aarch64 architecture, whereas profile B would be usable on all architectures. * Selecting an arch specific profile from the commandline via the --profile option on a system which is not of that architecture will result in an error message. * Using the import="true" attribute in the <profile> definition for an arch specific profile will cause the import of that profile only on that architecture and silently ignore the import on any other architecture This Fixes #637 - Update build-test descriptions for Kanku As part of the buildservice there is now also a CI system called Kanku which allows for image boot/run tests. The only requirement on the image level which is missing in our build test descriptions is the setup of the serial console. This patch updates those image descriptions which could be tested by kanku to provide a serial console at boot time. The plan is that our build-test images automatically gets boot tested by the Kanku CI. This should include boot, console-login, reboot, console login, shutdown. The required job description to do this needs to be worked out together with the Kanku team - Adding publisher attribute for ISOs This commit adds the 'publisher' attribute in type only for ISO image type. It sets the publisher name of the resulting ISO. Fixes #630 - Fixed yum vs. yum-deprecated binary lookup When using the yum package manager it could be either provided as yum or yum-deprecated binary. Because of this the search method to find the binary needs to know the context from which the call is performed. This could be either the host system or the created image root. This Fixes #624 - APT: Run debootstrap with --variant=minbase This selects only packages with Priority: required, which is more in line with what the other package managers are doing. A patch for kiwi-descriptions has been submitted to adapt to this new behavior. - Bump version: 9.12.9 ? 9.13.0 - Do not emit linuxefi/initrdefi on non-x86 platforms Grub wants to have linuxefi/initrdefi commands to execute Linux via the UEFI calling convention on x86. However, all other platforms simply use the normal linux/initrd commands, because there grub assumes that an EFI grub wants to run an EFI payload. Reflect this architecture difference in the generated grub configuration. Signed-off-by: Alexander Graf <agraf@suse.de> - Fixup grub2 theme setup The presence of a background file was mandatory for kiwi to use the theme. But the background information is optional - Deleted obsolete boot descriptions The custom kiwi boot descriptions has been moved into the kiwi-descriptions github repo and builds the compat package kiwi-boot-descriptions from there. The build of the boot image(initrd) is done by dracut and the dracut module packages provided by kiwi. The classic custom boot descriptions can still be used as alternative method if the above package is installed. Related to Issue #576 - Create compatible boot options The boot option root=install:CDLABEL= is mandatory for install images which uses the dracut initrd system. But for the custom kiwi oemboot descriptions this is causing a problem when detecting the install device. Thus the above boot option is only applied for the initrd system which actually makes use of it - Update boot description search path With the move of the boot descriptions in its own package the kiwi search path needs to be adapted to look for boot descriptions in /usr/share/kiwi/custom_boot. In addition a runtime check to exit early if the boot description could not be found or is not specified will be provided. Related to Issue #576 - Update the docs to the current example present in kiwi-descriptions - Bump version: 9.12.8 ? 9.12.9 - Update .virtualenv.dev-requirements.txt sphinx 1.7.0 is not compatible with travis-sphinx thus we stick with 1.6.7 until travis-sphinx followed the sphinx changes - Add restrictions to Path.remove_hierarchy When an iso file is used as repo, this iso will be loop mounted on the host and bind mounted into the image root as long as the image builds. When the mount is released a recursive cleanup of the complete path happens. This is done by calling Path.remove_hierarchy. However if a sub path of the mount path contains a system root directory which is mandatory for the Linux root system it is not allowed to be deleted even if it is empty at the time of the mount cleanup. Thus this patch adds a lookup for protected directory names and only runs the recursive deletion as long as no protected member is part of the path. This fixes bsc#1080301 - Initial support for building Debian/Ubuntu packages in spec This adds support for producing the main kiwi package as well as the packages for the dracut modules to be used when building Debian-based distribution images with KIWI. The Debian/Ubuntu package is built using debbuild: https://github.com/ascherer/debbuild - Fixed build_pxe_root_filesystem documentation The article still used filename references from v7 code stream This patch updates the docs to match the sources it refers to - Update dropped features documentation The information on the partition based install method was unclear and misleading. This patch clarifies the documentation in this regard - Delete obsolete ovf format value Support for ova has been added which makes the ovf format value obsolete and redundant - OVA: Print a user-friendly message if ovftool is not available - OVA: Require ovftype="vmware" - Expand consistency check for grub efi package to cover debian based and RH distros - Bump version: 9.12.7 ? 9.12.8 - Exclude install source device from target list - Fixed kiwi-dump timing issue The install code needs to wait in the pre-udev phase for the device containing the installation data to become ready before proceeding with the actual installation code. - Fixed dialog size of install confirmation dialog The size was too small to show device names which causes a line break to be displayed in the next line - Fix style error - Early exit if firmware is efi or uefi but the expected grub module is not part of the package list - Cleanup misleading method name - Fixed coverage report setup Latest version of the coverage module requires a report setup - Fixed target path name for gce format get_target_name_for_format in case of the gce format does not return a path spec which leads to an incomplete result information for a later bundle command. This patch fixes this. In a follow up pull request we will also update the method name from the misleading get_target_name_for_format function name to get_target_path_name_for_format - Use live-grub-stick - Fix packages file generation This commit checks the %_dbpath value of the image rpm tool. This is needed since recent rpm versions switched the default database path, thus running rpm queries to different roots might lead to errors. Fixes #605 - Bump version: 9.12.6 ? 9.12.7 - Update per review by Tom - Update per review by David - Update per review by Tom - Added chapter for live-fat-stick deployment With the support for the iso-scan feature in KIWI live ISO image, also the ability to deploy file based on FAT32 usb sticks via the live-fat-stick tool exists. This chapter describes how to do it and Fixes #521 - Update pre review by Tom - Update per review by Tom - Update per review by Tom - Remove vmdk metadata update procedure This commit removes the method _update_vmdk_descriptor from DiskFormatVmdk class. The code part causes vmdk format issues in current up to date hipervisors such as VMWarePlayer 14 or Virtualbox 5.2. Removing this code does not produce any failure, at most can only imply loosing some features provided by open-vm-tools package. Fixes #591 - Fixed use of profile variables in kiwi-dump module The profile environment was not imported in the dracut kiwi-dump module. Thus custom settings like oem-unattended did not had an effect - Fixup docstrings in xml_state - Allow only one dracut variable for kiwi debugging - Bump version: 9.12.5 ? 9.12.6 - Fixed kiwi dracut config for the final system Once the image has been deployed on the target and the system is up and running some of the kiwi dracut modules used for deployment are no longer needed and should not be taken into account when another dracut call happens on the system. - Add support for building OVA images Implement support for format="ova" using VMware's ovftool. We use the vmdk format as a basis and then just call ovftool to convert *.vmdk + * .vmx to an OVA. - Update documentation Update the documentation with regards to the move from the plain kiwi initrd to the dracut initrd system. This is related to Issue #576 - flake8: Use a more conservative max-complexity setting Set the default threshold to 12 and annotate the outliers with "noqa: C901". Most of the cases are due to lack of switch statement in python, but there are some worth titying up. Now we can grep for them :). - Bump version: 9.12.4 ? 9.12.5 - Make sure there are no busy devices on reboot If the dracut kiwi-repart module skips the repartition step because the disk was already repartitioned it leaves devices in busy state which leads to a rescue shell at the system mount stage - uboot-setup-panda.tgz was readded by mistake as boot hooks are no longer needed - Adding opensuse ports repository - Bump version: 9.12.3 ? 9.12.4 - Don't lookup zImage symlink Due to the workaround to lookup the gzip compressed variant of a zImage to find its version, it's required to find the full name of the zImage in order to rematch the gzip variant. Looking at the zImage link will make this to fail because there is no vmlinux link - Bump version: 9.12.2 ? 9.12.3 - Fixed kernel version check for zImage kernels build as zImage contains the decompressor code as part of the kernel image and could be therefore compressed by any possible compression algorithm. In this case we assume/hope that there is also a standard gz compressed vmlinux version of the kernel available and check this one instead of the zImage variant. Fixes #587 - Bump version: 9.12.1 ? 9.12.2 - Update the man pages - Fixed installation image builder Use get_boot_names from BootImage instance to ask for the name of the initrd instead of constructing this information from static values. The name of the initrd is different per distro and toolkit - Provide a get_boot_names method in boot classes The naming schema for an initrd file name depends on the boot image type as well as on the underlaying initrd creation toolkit. In order to encapsulate that in a clear interface the code to know about the correct names has been moved into the classes which are responsible for it and out of the builder/disk class - Image name generation for GCE images + Fix the name generation for GCE images. The implementation assumed that GCE images are of a type that use a kiwi generated initrd, looking for image name components based on the boot attribute in the type element. This assumption is not correct, use the name provided in the XML to compose the image name. - Bump version: 9.12.0 ? 9.12.1 - Fixed dracut-kiwi-oem-dump requires setup on rhel/fedora multipath is provided by device-mapper-multipath - Adding package_gpgcheck flag as an option for set-repo and add-repo Fixes #565 - Adding uboot-setup kiwi hooks For some reason the uboot-setup-panda.tgz file did not get into master branch, probably was not properly pushed in the former include_build_tests_arm branch. - Fix build tests to match new locale setting strategy (#586) - Added timezone package to build tests With the latest update on how kiwi handles the locales with systemd-firstboot, only locales defined in timezone package can be set, thus Europe/Berlin is not possible if timezone is not installed - Fixed build tests for azure and ec2 Packages yast2-storage and recode no longer provided - Bump version: 9.11.30 ? 9.12.0 - Update build test image descriptions Update to latest schema by auto conversion and delete use of oemboot kiwi code by switching to dracut - Fixed reading device node path lsblk should be called with -p because it's a mistake to assume any device lives below /dev. There could also be subtree devices in /dev/mapper or /dev/disk/.. We leave it up to lsblk to provide us the correct information - No need to actively stop the dialog service - Added required packages for dmraid and multipath - Added handling for dmraid and multipath devices - Adding iso-scan feature to kiwi-live dracut module This commit adds the iso-scan scripts to kiwi-live module_setup if the former files are found in the system inside the dmsquash-live dracut module directory. Fixes #574 and is related to #521 - Fixed Arrays implicitly concatenate by shellcheck - Add support for net install in dracut kiwi-dump This implementes one of the tasks from Issue #576 - Added runtime check for dracut-kiwi-oem-dump The installation of the above mentioned dracut module package is required for oem images which uses dracut as initrd system and have the creation of an installation image requested. This is related to Issue #576 - Update schema version in documentation - Auto update all schema descriptions to v6.8 - Delete hwclock from profile and system setup - Delete hwclock section from schema Deletes hwclock section from schema and provides xslt style sheet for schema auto conversion from schema version 6.7 to 6.8 - Deprecate suseConfig method and remove hardware config method This in this commit: - the contents of the suseConfig method from kiwi/config/functions.sh are replaced by a deprecated message. - the setup_hardware_clock method from SystemSetup is removed as it is not used anywere in the code. - Extend CommandCapabilities to also check version - Added dracut-kiwi-oem-dump subpackage to spec - Update locale settings (#579) * Use systemd-firstboot in order config basic settings This commit updates locale and keyboard settings in order to make use of the systemd tools, as this will be the only valid method starting from SLE15. Fixes #577 * Added CommandCapabilities utils class - Bump version: 9.11.29 ? 9.11.30 - Deleted syslinux from ppc/oemboot/suse-SLES15 syslinux is not provided for ppc. This Fixes bsc#1073310 [boot] fix double quote in grub menu which makes kernel updates for CentOS / RHEL / Fedora break grub.cfg - Omit kiwi-repart dracut module in oemboot initrd KIWI's oemboot initrd with initrd_system="dracut" together with installiso="true" requires to have dracut-kiwi-oem-repart package installed in the system, thus it ends up also being included in the recreated dracut initrd after booting the oemboot initrd from the installation iso. This kiwi-repart module causes a boot failure in that case since no .profile file is present, moreover, it has no sense to run it at that stage, since the disk is already reparted by the oemboot code. This commit allows installiso="true" and initrd_system="dracut" to play well together. - Improve locale pattern in schema Now the locale pattern in the schema also supports POSIX. Note that POSIX will be only accepted if listed in the first place of the comma separated list. This commit fixes #570 - Bump version: 9.11.28 ? 9.11.29 - Allow to choose dracut live module There is the standard dracut dmsquash-live module based on the device mapper technology and the kiwi-live module based on the overlayfs technology. The setup of the live iso structure in kiwi is compatible to both modules. Thus it makes sense to allow to choose the technology via the flags attribute <type image="iso" ... flags="overlay|dmsquash"/> Please note both modules supports a different set of live features. This Fixes #568 - Bump version: 9.11.27 ? 9.11.28 - Fixed ec2 and azure test builds cryptconfig is no longer provided - Bump version: 9.11.26 ? 9.11.27 - Apply target permissions only if target dir exists - Bump version: 9.11.25 ? 9.11.26 - Fixed use of stat result in os.chmod oct method returns a string representation which was mistakenly used in a subsequent os.chmod call. This Fixes #564 - Fixed tox doc target Correctly include schema pictures after travis-sphinx build - Bump version: 9.11.24 ? 9.11.25 - Update failsafe kernel option list Delete obsolete parameters and make sure a failsafe boot does boot into runlevel 3. This Fixes #554 - Apply xslt validation on boot images - Do not match comments and PIs in XSLT templates I wanted to add a simple vim modeline to my XML description: <!-- vim: et:sts=2:sw=2 --> This made kiwi consume insane amounts of memory during the XSLT transform step. While this may be a bug in my version of lxml, we do not transform comments on processing instructions in the conversion templates, so the easiest solution is not to match them. Signed-off-by: Michal Marek <MichalMarek1@eaton.com> - Make sure toplevel target dir keeps permissions When syncing data via rsync we make sure the toplevel target directory the data gets synced to does not change it's origin permissions. This Fixes #557 - Rebuild schema documentation - Fixed dependencies for dracut-kiwi-lib Adapt package names for gdisk/gptfdisk and btrfs-progs/btrfsprogs Install and require fdasd only on s390 architecture Delete fbiterm requirement since the project seems unmaintained and the use of the framebuffer terminal is an option in the code but not mandatory. This Fixes #559 - add missing deps for docker builds. Moving kiwi-image:* provides to -requires package - Update text per review - Fix and cleanup tox setup Along with the cleanup of the tox setup also the workaround using an older version of the py module has been fixed - Fixed travis-sphinx call syntax - Update dropped feature list Legacy kiwi's oem recovery feature will not be ported due to technologes like ReaR, snapper, btrfs and due to the container, cloud and public cloud orientation of OS images - Implementation of dracut kiwi-dump module Provide the capabilities of the oem install code as dracut module. The implementation covers the result of the installiso="true" configuration. Installation from remote sources still needs to be done and will follow in an extra pull request. This addresses Issue #576 - Bump version: 9.11.23 ? 9.11.24 - Fixed URL to semver.org in development guide - Bump version: 9.11.22 ? 9.11.23 - Fixed module setup for dracut-kiwi-lib lsblk tool used in code but missing in dependencies - Fixed test-image-azure build test azurectl does not resolve because of missing AppScheduler but for the integration test image we also don't need azurectl Thus it was just deleted from the list - Fixed test-image-azure build test pam-modules package doesn't exist anymore - Bump version: 9.11.21 ? 9.11.22 - Fixed typo in spec file The use of the suse_version macro from the last change introduced a syntax error which caused the package build to fail in obs - Bump version: 9.11.20 ? 9.11.21 - package: Prepare for Tumbleweed moving to suse_version 1550 - Bump version: 9.11.19 ? 9.11.20 - Only add package manager on image package requests (#550) If an image description only contains package requests from a bootstrap section but no image packages, it's not required to install a package manager package into the system - Add device-mapper requirement for dracut-kiwi-live - Post build constraint validation refactored - Bump version: 9.11.18 ? 9.11.19 - Update gfxboot.cfg for iso images Don't move down one menu entry the first time a F-key is used This Fixes bsc#1068790 - Adding quotes to ensure '%_dbpath' is treated as string - Add max size post build command This commit includes a post build constraint validation into the Result class. With this commit any file included to the result tuple is verified not to exceed the maximum size configured into the runtime configuration file config.yml. Fixes #468 - Fixed ec2 integration test requirements for unneeded crash package broken - Fixed ec2 integration test nothing provides pam-modules - Removes the hardcoded path of the rpm database With this commit the rpmdb path is evaluated from the %_dbpath macro instead of being hardcoded. Fixes #537 - Bump version: 9.11.17 ? 9.11.18 - Added runtime check for dracut-kiwi-oem-repart OEM images if configured to use dracut as initrd system requires the KIWI provided dracut-kiwi-oem-repart module - Fixup py vs. pytest-cov version incompatibility - Bump version: 9.11.16 ? 9.11.17 - Delete atftp from SLE15 boot descriptions atftp will not be part of SLE15 per fate#323633. This Fixes #543 - Fixed blocksize setup in losetup The -L option was used to set the blocksize value for losetup However there is an option name clash between suse util-linux and upstream which now leads to the problem that option -L has changed its meaning and actually means --nooverlap which completely breaks the call in kiwi. This patch changes the call to use the long form --logical-blocksize. This Fixes bsc#1066873 - Code cleaning and enhancing variables names - Use usr/lib/rpm if present instead of var/lib/rpm With this commit OEM recovery tries to backup usr/lib/rpm if present, if the directory is not present it tries to backup the old default configuration, var/lib/rpm. - Extend checkmedia runtime check In addition to the correct architecture the check also includes the lookup of the required tagmedia tool to be present on the building host. This Fixes #538 - Remove hardcoded any /var/lib/rpm path This commit changes any /var/lib/rpm reference to the call 'rpm -E %_dbpath' which returns the path of the rpmdb which has been recently updated to a different location in recent rpm versions. Now the rpmdb path is determined dynamically. Fixes #537 - Adding a s390 oem test image - kiwi-hooks should be packed in tar Remote OBS source service is no capable of packaing a folder into a tar. - Include arm build test - Adding test image descriptions This commit adds the image descriptions used to test KIWI within the Open Build Service. - Add support for apt repository priorities Apt handles repository priorities in a preferences file per repository and calls that pin-priorities. The implementation here sets the configured priority for all packages of the given repository - Add missing hooks to the other architectures - Add pre/post mount hook for oem - Clarify how strip works - Add more OEM hooks - updated contributing link - s/42.1/42.3/ - Bump version: 9.11.15 ? 9.11.16 - Fixed validation of isohybrid warnings The list of warning messages is evaluated line by line and those not matching the ignore warnings list are treated as errors. However if an empty line exists it did not match the ignore warnings list but is also not an error. This patch makes sure only non empty warning information has an effect - Bump version: 9.11.14 ? 9.11.15 - Do not require cracklib-dict-full in boot images - Bump version: 9.11.13 ? 9.11.14 - Cleanup SLE12 boot image descriptions - Bump version: 9.11.12 ? 9.11.13 - Cleanup SLE boot image descriptions Don't use packages which does not exist on SLE, Fixes #523 - Improve coding style to make flake8 happy This commit includes the exact Exception class that the 'except' statement catches. According to the new flake8 3.5.0 version it should be explicit rather than implicit. - Add OCI reference in skopeo copy call and umoci config call Skopeo, since v1.24, does no longer assume 'latest' as the default tag/reference and requires explicit tag or reference in skopeo call. In KIWI the default was only used to import the base rootfs, with this commit the imported container is tagged as 'base_layer'. The current patch works for all skopeo versions. - Update hooks documentation - Bump version: 9.11.11 ? 9.11.12 - Add more hooks for oemboot This follows netboot behavior - Fix vmdk descriptor file This commit fixes the descriptor file of the vmdk images. Before this commit the descriptior file was appended at the end of the image instead of overwritting the current one at the very beginning. Fixes bsc#1050665 - Bump version: 9.11.10 ? 9.11.11 - Follow up fix for isohybrid error handling Allow to handle multiple messages from isohybrid as warnings. Only if the list of messages still contains information after all non error conditions had been checked out, an exception is thrown - Bump version: 9.11.9 ? 9.11.10 - Cleanup boot descriptions The still existing kiwi boot descriptions contained wrong information about no longer existing packages and many other obsolete information. - Bump version: 9.11.8 ? 9.11.9 - Prefer image packages section for bootincludes If a package is marked bootinclude prefer <packages type="image"> section in the target XML as primary target and only if no such section exists put the package in the <packages type="bootstrap"> section - Keep NVMe drivers in the initrd Support systems with the root filesystem on a NVMe device - Bump version: 9.11.7 ? 9.11.8 - Changed permissions of /srv/tftpboot to be readable (bsc#940608) - Bump version: 9.11.6 ? 9.11.7 - Also handle multiple error conditions - Allow to ignore certain isohybrid warnings kiwi treates warning from isohybrid as fatal errors becuase in most cases they are fatal. However some of them are kind of historical and should be ignored like the one described here: http://www.syslinux.org/archives/2015-March/023306.html - Bump version: 9.11.5 ? 9.11.6 - Make sure xz options are used with pxe tarball The tar command used in the pxe builder did not utilize threading and/or the xz options provided by an optional kiwi config file. This Fixes #507 - Move depmod into baseUpdateModuleDependencies Kernel module dependencies should be resolved after kiwi has called all the stripping functions and not as part of the baseCreateCommonKernelFile which runs before. This Fixes #508 - Fixed order of volume mount list re-order mount_list by mountpoint hierarchy. This is needed because the handling of the fullsize volume and all other volumes is outside of the canonical order. If the fullsize volume forms a nested structure together with another volume the volume mount list must be re-ordered to avoid mounting the volumes in the wrong order - Update issue template - Bump version: 9.11.4 ? 9.11.5 - Rebuild schema documentation - Show results in a dialog - Improve display of runMediaCheck results The splash screen should be switched off in order to let the user see the mediacheck results as well as a delay timeout before the boot continues or stops is useful - Call plymouth default theme setup in build command Make sure plymouth-set-default-theme is called as part of the system build command and not only as part of the system prepare command - Fixed package requires for dracut-kiwi-live On Fedora/RHEL cdrkit is only a source package building other packages. The package dracut-kiwi-live really needs is genisoimage - Added dracut kiwi oem module and library A new dracut module kiwi-repart used to be the successor of the custom kiwi oemboot code to repartition the disk has been added. Along with the module a dracut library kiwi-lib will also be delivered. - Fix trailing pipe character in .packages file In addition make sure the field layout is consistent across the .packages files no matter which package manager was used to create the information. This Fixes #501 - Bump version: 9.11.3 ? 9.11.4 - Update documentation Link to the obs overview page to show build test results - Added Fedora integration test build to obs status - Limit the characters set for volid attribute This commit fixes #493 - Revert "Fixed package requires" This reverts commit a8d50a593911725965e09b0e8c2f3b9bc742202b. - Fixed package requires On Fedora xattr is provided by python[3]-pyxattr - kiwi-boot-requires only required for suse(obs) - Update project intro page - Update project intro layout - Update project intro page - Bump version: 9.11.2 ? 9.11.3 - Added disk format="vhdx" support Support dynamic VHDX (gen2) image format for Hyper-V. This Fixes #490 - Added additional required attr schematron rule The new rule allows to check for required attributes for a specific image type and is used for the filesystem attribute which is required for the image type oem, vmx and pxe. This Fixes #476 - Bump version: 9.11.1 ? 9.11.2 - Rebuild online schema documentation - Bump version: 9.11.0 ? 9.11.1 - Fixed kernelList function The kernelList function searches for the installed kernels and applies the corresponding initrd name. The information the method provides is used in case of a custom initrd which should be used instead of the result of dracut. When requesting the use of the kiwi firsboot initrd also in the system via the <oem-kiwi-initrd> element, the information from the list is used to correctly link the kiwi initrd named initrd.vmx to the expected name of the system as dracut would create it. The creation of the list was broken which lead to an empty list and the after effect that the system was not able to reboot. This Fixes #483 - Update oemboot/rhel-07.0 due to isolinux changes With the move of the isolinux setup operation into the python code and the deletion of the old code from the images.sh scripts it's required to keep syslinux in the boot image otherwise the builder can't find it when explicitly deleted before the isolinux setup - Update device node names for devmapper nodes Partition devices created by the device mapper could use the _part or the -part naming schema. This patch allows for both variants and Fixes #480 - Added e2fsprogs to s390/netboot During bootup of a diskful netclient when it comes to e2 filesystem operations the tools were missing. Fixes #479 - Rename source label This commit renames the source label to a more explicit name. This commit also relates to bsc#1055542 and fixes #473 - Add mediacheck handler for live iso This fixes bsc#1049304 - Added live iso integration test build to obs status - Bump version: 9.10.6 ? 9.11.0 - Delete atftp from boot descriptions In SLE15 / Leap15 atftp has been dropped. This Fixes bsc#1056951 - Deleted Leap 42.1 JeOS Leap 42.3 has been released - Fixed list of gfxboot modules Bad bug, missing comma caused the list to be interpreted differently by python which screwed up some list items - Delete obsolete suseGFXBoot kiwi boot code The code has been moved into the python source at bootloader/config/isolinux.py - Delete vmxboot descriptions vmx boot is now fully integrated with dracut - Make get_initrd_system a state method Make sure the default initrd_system is set to dracut for the vmx image type and to kiwi if no initrd_system is specified. This allows to simplify other code parts as we can trust there is a value set - Update schematron rules for boot and initrd_system The boot and initrd_system attributes are no longer used by the vmx image type and are therefore not allowed anymore. - Added runtime checks for overlay disk images Checking if the dracut-kiwi-overlay package will be installed as part of the build and also for the supported EFI setup since the EFI secure boot setup would try to perform changes on the filesystem which is a readonly squashfs, this is not supported - Fix isohybrid call isohybrid errors printed on stderr were not treated as fatal but should be treated as such. In addition isohybrid should distinguish for efi setup according to the efi setup of the image itself - Refactor _get_source and _get_source_label methods - Support overlay disk images via dracut Using the kiwi-overlay module to boot up systems configured with the overlayroot="true" attribute in the system image XML configuration. Fixes #65 - Added kiwi-overlay dracut module and package Package dracut-kiwi-overlay providing kiwi-overlay dracut module - update README Use normal style dash character - update README - Delete isoboot descriptions Live ISO boot is now fully integrated with dracut - Added runtime check for dracut module on live iso Live ISO images uses a dracut initrd to boot and requires the KIWI provided kiwi-live dracut module to be installed at the time dracut is called. Thus this runtime check examines if the required package is part of the package list in the image description - Include the source label in container images This commit fixes bsc#1055542, it includes the DISTURL parameter as a label into the container metadata when the build happens inside the buildservice. The new label included is named: * org.opencontainers.image.source in line with the current OCI annotations schema. - Added kiwi-live dracut module and package Package dracut-kiwi-live providing kiwi-live dracut module - Update schematron rule for boot attribute The boot attribute is no longer used by the iso image type and is therefore not allowed anymore - Update allowed values for iso image attribute With the move to dracut only the options implemented for the kiwi-live dracut module are available - Move to dracut for live ISO images Instead of the kiwi isoboot layout the live layout has been changed to follow the rules of the live system support offered by dracut. The initrd used to boot up the system is now a dracut generated initrd and can be customized via the 'flags' attribute in the kiwi XML description. In order to meet the kiwi live requirements a custom dracut module called kiwi-live is provided along with the changes in kiwi. This Fixes #470 - Bump version: 9.10.5 ? 9.10.6 - Added boot descriptions for SLE15 on ppc - Added boot descriptions for SLE15 on s390 - Bump version: 9.10.4 ? 9.10.5 - Added handling of formatoptions attribute Custom disk format options passed in the formatoptions attribute were not handled. In addition options with a value passed to qemu were handled in the wrong way. This commit addresses both problems and Fixes #463 - s/sles/openSUSE/ - copy SLE15 files for Leap 15 - add Leap 15 macros - leap_version is deprecated. use sle_version+is_openuse instead - Added azure integration test build to obs status - Bump version: 9.10.3 ? 9.10.4 - Fixed resize if all free volume in oemboot/repart - Fix space calculation for lvm volumes It is required to take the other configured volumes into account in order to solve the problem of nested volumes. The size of e.g the root volume must be reduced by the size other volumes inside of the root volume needs. This is especially required if the root volume is not the fullsize volume - Fixed setup.py requirements record PyYAML is required by KIWI - Add description of Overlay Files to Terminology - Bump version: 9.10.2 ? 9.10.3 - Export *.verified also for images based on apt-get This commit includes support in system/setup.py to run a package verification also for images based in apt-get package-manger Related to #457 - Include .packages file for apt-get based images This commit renames export_rpm_packages_list method to export_packages_list and it includes support for listing debian packages if apt-get package manager is used. Fixes #457 - Fix calculation of needed disk space for oem types The calculation did not include the minimum volume requirements if a volume setup exists - Update expected compatible major version every version of umoci/skopeo <= major v1.x.x is expected to work with the implementation used in kiwi - Extend scope of check_docker_tool_chain_installed The runtime check only checks for the presence of the docker tools umoci and skopeo but as we are expecting incompatible api changes in the next major version release the check has been extended to look at the major versions of the installed tools as well. Fixes #454 - Fixup schema version in chapter topic - Bump version: 9.10.1 ? 9.10.2 - Fixup XSL stylesheet v6.7 Apply templates matching all processing instructions in order to match <section>text</section> - Rebuild schema documentation - Remove xml_state.get_build_type_mediacheck method The method was not needed since a direct call to xml_state.build_type.get_mediacheck was already producing an equivalent output (True, False or None), where 'None' can be easily treated in the same way as False. - Add runtimecheck for mediacheck attribute on non x86 hosts This commit rearranges some method and variable names and includes a new runtimecheck to ensure the mediacheck attribute is not set when building non x86 images. Patch related to bsc#1049304 - Auto update image descriptions to schema v6.7 - Update schema to version v6.7 Cleanup of the schema, delete obsolete and unused attributes and sections. Details of the change can be found in the conversion stylesheet convert66to67.xsl - Add XSL stylesheet to convert from v6.6 to v6.7 Delete the following obsolete and unhandled attributes and sections * <image ... kiwirevision="..."/> * <type ... checkprebuilt="..."/> * <type ... fsnocheck="..."/> * <repository ... status="..."/> * <repository ... prefer-license="..."/> * <package replaces="..."/> * <defaultprebuilt> * <defaultdestination> * <defaultroot> * <partitioner> * <rpm-force> - Adding mediacheck menu entry for liveCDs This commit adds the checkiso attribute in type tag, only available for iso image types. Checkiso is boolean that determines the presence of0 a Mediacheck menu entry or not in the bootloader. This patch is related to bsc#1049304 - Fixup encoding handling for profile file If an element like displayname or oem-boot-title contains characters outside of the ascii table this causes trouble when kiwi writes out the profile file and the code is called through python2. The reason here is that the default encoding on write() (and other methods) is set to ascii in python2 and when it receives unicode characters outside of the ascii spec a UnicodeEncodeError is thrown. Now all of kiwi is using Unicode which means this does not produce a problem when calling the code through python3 because the default encoding is utf-8 there. This patch introduces a method which allows to change python's default encoding and calls it at the code point where we write the profile because we got unicode and we want to write unicode in any case. This fixes at least one situation for python2-kiwi to allow the use of non ascii characters in the XML setup. If other places will be found the same approach should allow to fix it for python2 - Fix RHEL spec check - Bump version: 9.10.0 ? 9.10.1 - Add LVM overhead for lvm based images LVM itself requires metadata stored in the metadata block kiwi did not take a size value for this data into account - Use dmsetup to cleanup device maps Instead of the broken kpartx -d we use dmsetup remove directly on the maps kiwi has created - Evaluate file strip before kernel strip Information from the optional <strip type="delete"> section was handled as part of the suseStripInitrd method which is called after suseStripKernel. However if a request to delete a driver file is part of the above mentioned strip section the checks for the driver dependency and also for potential superfluous firmware is not applied. Thus the evaluation of the <strip type="delete"> section happens earlier in the suseStripKernel method. Fixes #442 - Added ec2 integration test build to obs status - Added Xen setup runtime validation Added check_xen_uniquely_setup_as_server_or_guest runtime check to check for a unique dom0 or domU guest setup Fixes #429 - Rebuild schema documentation - Make vmdisk optional for the machine setup The guest machine information might not require information about the disk. Issue #429 - Fix some spelling - Fix some spelling - Use the same option type (long form) for clarity - Use kernel compatible XZ options for kiwi initrd The kernel requires specific XZ options for the initrd in order to read the compressed data. This values should not be configurable by the user and are set to the same options as used by dracut now. Fixes #435 - Change default XZ compression options Use all cpu cores by default. Fixes #433 - Update spec file provides for schema version - Bump version: 9.9.5 ? 9.10.0 - fixed: fdupes is also available on Fedora - changed: simplify diff to orig spec file template - added: support for Fedora 25 / 26, fixed support for CentOS 7 in the spec file - Include default container name This commit includes a default container name for KIWI container images. This makes possible to create OCI and Docker containers without forcing the user to include a <contaierconfig> section in the description file. - Refactor code which deals with Xen Provide two methods is_xen_guest and is_xen_server which are used instead of the former machine domain and firmware processing. Issue #429 - Apply schema v6.6 stylesheet to XML descriptions Updates all XML descriptions to latest schema version and also includes adaptions to the test XML descriptions for testing the new Xen guest and server setup - Fixup shell test condition Variables used in shell conditions should be quoted - Update schema to version 6.6 * Deleted domain attribute from machine section * Added xen_server attribute to specify a type to be a Xen dom0 * Added xen_loader attribute in machine section to specify the target guest loader this image is expected to become loaded with - Added schema 6.5 to 6.6 conversion Delete the Xen domain attribute from the machine section and introduce a new xen_server attribute which is set to true for any machine section with a Xen dom0 configuration - Added Makefile target obs_test_status Call make obs_test_status and get an overview about the current integration test builds and their status - Bump version: 9.9.4 ? 9.9.5 - Added s390 tumbleweed boot descriptions - Bump version: 9.9.3 ? 9.9.4 - This commit fixed root_init when running inside the buildservice This commit fixes regression bug introduced in #422 - Exclude kiwi files from images This commit from one hand includes a get_exclude_list_for_root_data_sync method in Defaults which returns a list of the files used by KIWI that should not be part of the resulting image. From the other hand makes use of the exclusion default list in live, archive and container images, it fixes #423. - Bump version: 9.9.2 ? 9.9.3 - Revert "Include .buildenv file inside the buildroot" This reverts commit d30bf4a19ff11f7132c9a31528ddfa103e01b299. This also includes the get_buildservice_env_name method in Defaults to centralize '.buildenv' occurrences. - Fixup helper/kiwi-boot-packages Make sure the code also works in python2 - Search for python interpreter in path Allow more flexible path spec to find python interpreter - More comfort in calling with compat arguments In addition to the 'kiwi --compat -- ...' style we also support calling the kiwi compat mode as a service via 'kiwi compat ...' The preferred way of calling kiwi with legacy options is via the new compat service. Thus the documentation also changed to no longer mention the --compat option but it still exists for compatibility reasons. Fixes #407 - Allow use of more fine grain ignore repos options The meaning of the --ignore-repos option has changed back to ignore all configured repositories. A new option named --ignore-repos-used-for-build has been added which allows to ignore all except imageonly repositories. The command manual pages has been changed to document the options. This Fixes #410 - Cleanup use of python interpreter invocation Prevent strict call of a specific version of the python interpreter. All code has been written to work with py2 and py3 thus the venv environment setup should decide what version a call of python is. Fixes #424 - Make sure the KIWI buildroot has the /.buildenv file This commit makes sure the that the KIWI build root will always contain the /.buildenv file. Fixes #421 - Include .buildenv file inside the buildroot With this patch if KIWI is running inside the buildservice the /.buildenv file is copied from the build environment to the build root of KIWI. At installation time some packages test the existance of this file in order to know if they are being installed inside the buildservice or not. Fixes #421 - Fix url validation in buildservice (#420) This patch changes the remote URL validation strategy when running inside the build service. By design, inside the build service build environment connections to the outside world are not allowed, thus any validation attempting to do that will fail. With this patch, when running inside the build service, KIWI will not try to test if any download URL is reachable. Fixes #418 - Bump version: 9.9.1 ? 9.9.2 - Refactor Uri is_public method Don't call a nested is_remote from is_public, instead the method was rewritten to explicitly cover the responsibility to check under which conditions we treat an uri as publicly available or not - Fixed Uri is_remote method If called inside of the buildservice the obs uri type is not a remote uri because the translation ends in a local path - Bump version: 9.9.0 ? 9.9.1 - Fixup setup and package requirements python requests is needed due to latest changes - Bump version: 9.8.1 ? 9.9.0 - Update doc string for Uri::translate method The method was missing doc info about the check_build_environment parameter and the return type of the method - Delete obsolete --obs-repo-internal switch - Create obs project download link like obs does it In reference to _download_repository_link.html.erb from https://github.com/openSUSE/open-build-service, we use the same mechanism to create the download link from an obs:// project definition - Fixup unit test for help command - Follow up fix for man page move make sure kiwi calls the man page from the now changed section level 8 - Move man pages to correct section The man pages were incorrectly written to section 2, which is for syscalls. Since KIWI is an administrator's tool, it has been moved to section 8. - Make sure system image strip sections are applied in boot image This commit calls copy_strip_sections from the system image xml to the boot image xml. This is needed to make sure strip sections are applied into the boot image. Fixes #414 - Refactor handling of obs repositories * Delete kiwi internal ibs: and suse: types * Delete handling for --obs-repo-internal and provide a compatibility message to the user * Buildservice download server url and scope can be configured via ~/.config/kiwi/config.yml * Translate obs urls to http in import_repositories_marked_as_imageinclude * Use new Uri.is_public method in renamed runtime check check_image_include_repos_publicly_resolvable - Fix a code block in workflow.rst Fixes #412 - Fix xml_state test - Accept an empty string as a repo priority xml_parse code is autogenerated, thus no changes there should be considered. When adding a repository from the command line it can happen that the repository priority is mapped to an empty instead to a None valuei, when the priority is not specifically set. xml_parse will only support a parseable string to int or a None value as the default option, so, if an empty string is used, it throws an exception. With the current patch anything that cannot be casted to an int, will be considered as None. Fixes #408 - Move check_image_include_repos_http_resolvable Call the check_image_include_repos_http_resolvable runtime check after the check and setup for the obs runtime environment. In case of obs uri types and a kiwi build outside of the buildservice those source locations could be translated into a public url and thus allow for use with the imageinclude attribute. However building inside of the buildservice maps those to a local path which is private to the used worked instance. In such a case the obs uri type is translated into a suse uri type and running the check_image_include_repos_http_resolvable after that translation will run from the translated and thus correct source uri information - Bump version: 9.8.0 ? 9.8.1 - Add unit tests for compat mode - Do not translate obs scheme to suse scheme for imageonly repos Fixes #404 - Fixed compat setup for upgrade command Value for --root option was added after other options - Translate obs to suse derived from image uris This commit performs a translation from obs scheme to suse scheme for derived from image uris when kiwi is running in a buildservice worker. Fixes #399 - Bump version: 9.7.4 ? 9.8.0 - Fix content layout of zypper credentials file Missing line break for entries in zypper credentials file - Allow imageinclude repositories inside the build service Fixes #397 - Fixed doc_travis tox target using shell syntax requires calling a shell process - Allow imageinclude in add|set-repo commandline The --set-repo and --add-repo commandline options now allows additionally to specify a true|false value to indicate if the repository should be part of the system image repository setup or not. This Fixes #398 - Fixed travis whitelist_externals test command is used in target - Fixed travis whitelist_externals commands cp and/or true are used in target - Fixup travis doc deployment Custom diagram images needs to be deployed manually - Update schema documentation - Delete unused data from schema docs processing - Flag --ignore-repos do not ignore imageonly repos This commit fixes #395, with it, using --ignore-repos, does not delete imageonly repositories from the description file. This way imageonly is prepared to be used in the buildservice even when using the 'obsrepositories:/' reference style. - Build schema documentation with Oxygen Given there is a valid Oxygen license owned by the company as described in https://www.oxygenxml.com/oxygen_scripting.html the schema documentation can be created using Oxygen. This commit allows building the schema docs with alternative doc builders and in case of Oxygen would change the way the schema docs are generated in the following way: 1. Install Oxygen and setup the license to activate the tool 2. Setup the KIWI development shell environment to export the schema_tool variable to point to the schemaDocumentation.sh script provided by the Oxygen installation export oxygen_tool=/path/to/Oxygen/schemaDocumentation.sh 3. In any case of a schema change manually call: tox -e schema This step was done before as part of the tox doc target but can't be done automatically because it would require a correctly licensed Oxygen installation in the travis environment. Thus the result data has to be part of the pull request 4. Build the documentation and review the result tox -e doc 5. Create the pull request - Update schema docstring for oem-systemsize - Bump version: 9.7.3 ? 9.7.4 - Fixed setup_plymouth_splash The schema generated get_bootsplash_theme() method returns a list because it's section content. The return value of the method was used as a string which caused a runtime error - Added creation of zsync control file in bundler If a --zsync_source url is provided to the bundler call a zsync control file is created for the compressed parts of the bundle. This Fixes #364 - Add package manager in image info task solving process This commit includes the package manager package in the packages list to be solved in image info task. - Bump version: 9.7.2 ? 9.7.3 - Fixed gce disk format The order of the files in the tarball is important. The first entry must be the manifest.json followed by disk.raw - Make sure CliTask instance reads the config file Any instance of a CliTask has to read the runtime config file if present - Add generic access for attributes The layout of the yaml runtime config is based on an element topic containing a list of attributes. For now only the xz topic with its options attribute is in use but for the future more elements might be supported which can use the same access method - Setup plymouth splash in the image prepare process In case the plymouth-set-default-theme tool can be found in the image root system and a bootsplash theme is configured in the XML description, the tool is used to setup the theme configuration This Fixes #366 - Include patternType information to resolv packages in image info task This commit includes ingore_recommended flag in the Sat.solve method. This way if the description file states to include only required packages (without recommendations) it is respected and taken into account to resolv the packages list. Fixes #381 - Added custom xz option handling for ArchiveTar Allow to pass custom xz options for create_xz_compressed method. Issue #373 - Make sure options are returned as list - Added custom xz option handling for Compress Allow to pass custom options for xz method. Issue #373 - Activate reading of runtime config in tasks Implement reading of runtime configuration file in base commandline class. Issue #373 - Cleanup doc string of base task class - Add runtime config man page section Describe the contents of the KIWI runtime config file - Added RuntimeConfig class An instance of RuntimeConfig reads in ~/.config/kiwi/config.yml if present and provides access methods to the expected information of the config file - Added PyYAML requirement to package and venv The KIWI config file is yaml based and thus we need support for reading the file in KIWI - Implement custom argument handling for xz_options Evaluate and hand over custom_args processing for the xz_options argument to all classes which performs xz compression tasks. This Fixes #373 - Read xz options from runtime config Read xz options from the kiwi runtime configuration file and pass along the information to the commands which performs compression tasks - Fixed alpha order of options in build command - Update custom_args doc for DiskBuilder class - Fixup class docstrings The attribute list should provide information about the construction of an object of this class. Some fields were missing or superfluous - Consider only repositories used for build in image info This commit makes sure that the repositories marked with imageonly flag are not included in the packages solve procedure. This is related to #362 - Removing has_repositories_marked_as_imageinclude method With the current repository management this method is not required anymore, since the setup repositories method does not modify the image if no repositories are present. It is related to #305 and #191 - Fixed typo in isoboot/fedora-25.0 It does not really matter because the package manager setup is inherited from the system image XML configuration to the boot image, but for consistency it should be correct in the isoboot description too - Added isoboot/fedora-25.0 boot description - Change to more explicit method names - Cleanup use of suseGFXBoot regarding grub The shell method suseGFXBoot from the config/functions contains code which should be better moved to the python code base dealing with the bootloader configuration. In this commit all grub parts of it has been moved to the BootLoaderConfigGrub2 class - Cleanup isoboot descriptions There is no need to install bootloader packages to the initrd, all information regarding the bootloader setup is taken from the system root directory - Fixup iso image builder(s) lookup path Don't lookup bootloader required files in the boot image root directory. Those needs to be looked up in the system image root directory - Refactor boot image factory Make sure the root directory of the base image is always accessible by any boot image type for consistency. In addition introduce a post_init method which explicitly setup the boot image root directory as needed for the selected boot image type and document it as such - Include imageonly attribute for repositories This commit adds imageonly attribute support for the repository element. imageonly is a boolean attribute that if true indicates that the repository is no used for the build but needs to be configured for the resulting image. Fixes #362 - Fixup use of syslinux v6 modules There is support for library loading in syslinux modules which requires to provide the lib modules when available. This Fixes #351 - Bump version: 9.7.1 ? 9.7.2 - Update rpm-check-signatures documentation - Fix default location repository config file for apt This commit fixes the apt config file management for default locations. The template subsitution always needs to be executed providing all the substitution parameters, as it does not make any kind of default assumption when parameters are missing. Fixes #370 - Revert "Refactor detection code for grub directory name" The former detection of the grub directory name in boot was correct whereas the new code introduced a problem. This reverts commit b3e4b871d52da2b5ab579d592ccc7ae39de75339. This Fixes #371 - Include repository_gpgcheck and package_gpgcheck documentation - Improve package/repository signature checking setup This commit adds repository_gpgcheck and package_gpgcheck attributes to the repository tag in schema. With this change each repository can be configured individualy to enable repository signatures check and/or enable signature package check. The configuration is done at repository level, thus it is not conflicting with the wide package manager configuration flag <rpm-signatures-check>. Fixes #358 - Update PXE building chapter Redesign PXE building chapter to follow style guide. Thanks to Thomas Schraitle for review and additional contributions to this topic. This Fixes #323 - Update chapter due to review - Update OEM building chapter Redesign building chapter to follow style guide. Issue #323 - Bump version: 9.7.0 ? 9.7.1 - Refactor detection code for grub directory name The method get_grub_boot_directory_name was based on checking for the name of the grub2 install tool, but this is not always reliable because the name of the grub2 install tool has no direct connection to the grub2 path. The method changes in a way that it checks for the presence of the grub2 installation directory which is /usr/lib/grub or /usr/lib/grub2. Depending on the result the location in boot is /boot/grub or /boot/grub2 which seems to be a more reliable check - Fixup detection of grub directory name In order to put grub data to boot/grub2 or boot/grub a check for the grub2-tool vs. grub-tool name is performed. This requires access to the image root directory on a file basis which is not always applicable. When setting up the grub bootloader for e.g EFI boot on an iso image the rootfs can't be directly accessed because the iso image contains the rootfs in a compressed format. This commit refactors the check to be generic for all image types - Fixup EFI setup for iso images The embedded efi fat image on the iso filesystem must follow the same rules compared to the setup on a disk - Fix docstring and apply ReST markup Avoids the the following warning: Definition list ends without a blank line; unexpected unindent. Docstring contains ReST markup from http://www.sphinx-doc.org/en/stable/domains.html#cross-referencing-python-ob... - Some corrections for Building Docker image docs - Rearrange Docker docs This commit rearranges the Docker image builds documentation in order to match the criteria exposed in #323 - Bump version: 9.6.2 ? 9.7.0 - Make sure all required yum repo options are set enabled and gpgcheck parameters has to be set for any configured yum repository - Fixup repository setup for yum Yum cannot handle spaces between the key and the value. This patch provides a method to tell ConfigParser to use no spaces for the '=' delimiter and thus Fixes #357 - Reactivate warnings report in pytest - Fixup kernel name lookup If multiple abi compatible kernel module packages are installed the kernel version of the boot kernel could be different from the kernel module versions. In order to find the boot kernel all kernel versions found must be checked. Fixes #355 - Fix/workaround invalid xsd pattern translation The data structures are auto generated by the generateDS tool which works nicely except for the arch-name xsd pattern used in the RelaxNG schema. For some reason the used regular expression is translated by generateDS into a python expression not matching the original expression from the schema. The result is an invalid python warning message after the schema has successfully validated the arch string. The problem has been reported to the generateDS developer. As long as their is no fix available in generateDS the following workaround in kiwi applies: The original xs:token pattern validation will be disabled on the generateDS level and applies only to the schema. This Fixes #347 - Allow vendor specific grub config file location On e.g Fedora systems the EFI grub config file for secure boot systems is expected to be located in the vendor specific efi boot directory from where the shim loader gets loaded by the firmware - Some fine tune updates * Updated the docs for system_create command * Reverted dracut image initialization * Updated yum comment about repo_gpgcheck option * Updated variable name in disk builder * Typo correction - Include signing-key feature for boot images This commit extends the behavior of --signing-key options in order to import the provided key file into the boot image, in addition to the regular image root tree. Related to #342 - Fix use of pre requires in spec file - Fixup working dir for editboot scripts editbootconfig and editbootinstall scripts needs to be called from within the correct directory to allow access to the written bootloader config files. For live images the working directory was set to the wrong place. This Fixes #353 - remove duplicated code from dhclient setup IPADDR is assigned within dhclientImportInfo original patch by Dinar Valeev <k0da@opensuse.org> - Fix spelling of 'processor' https://bugzilla.opensuse.org/show_bug.cgi?id=957927 - Use glob pattern to match shim modules - Fixed pre-req for kiwi-pxeboot subpackage the binaries groupadd and useradd used in the preinstall scriptlet and provided by the shadow package needs a pre requirement on shadow to make sure they exist when the package gets installed. Fixes (bsc#1040256) - Fix existing root check, fixes #349 This commit fixes the validation of an existing root directory for the command 'system build'. System build used to create the root directory before performing the root existance check, thus the check was always failing in any case. The root directory is created inside the RootInit class within the 'create' method. Fixes #349 - Added fallback setup for grub secure boot The current implementation is based on the presence of the shim-install tool. This tool does not exist on all distributions. In case shim-install is not present a kiwi fallback solution applies. Fixes #337 - Extend --signing-key to Apt package manager This commit extends support for --siging-key to the Apt package manager. However it has only been included for the chrooted operations, as current implementation of the bootstrap procedure does not provide signature check capabilities. Related to #342 - Extend --signing-key option to Yum and Dnf This commit extends the --signing-key options support to Yum and Dnf package managers. In addition, signature check for repositories had to be disabled for Yum and Dnf, as kiwi unrelated issues were found while testing. Nevertheless, package signature checks are fully functional. Related to #342 - Add --signing-key option This commit adds --signing-key option which sets a key file to import into the package manager trusted keys database. This commit adds this flag support only for zypper. Fixes #342 - Don't print warning report The auto generated xml_parse.py uses the python warnings module The unit tests uses the coverage module in py.test to create a report. The latest py.test update now also creates a warnings report which is unwanted because some of the unit tests intentionally causes the creation of a warning as the expected result but we don't want to see that in a py.test warnings report. Therfore this patch switches off the creation of that warnings report - Update manual page of build command Add information for --allow-existing-root option - Fixup default behavior of build command The build command automatically used an existing root tree from a former build attempt. However this could cause an inconsistent image if the former build root was not based on the same image type setup. Thus it is better to allow this only if the --allow-existing-root option is specified along with the build command call - Fixed alpha sorting of options - Complete zypper cache cleanup also the raw and solv cache needs to be deleted - Update manual pages Add information and use case for --clear-cache option - Added --clear-cache option The system prepare and build commands now provides the option --clear-cache which deletes all cache data associated with the repositories to build the image. This Fixes #341 - Let dracut create a compressed initrd dracut was called in a way to create an uncompressed initrd archive and kiwi later runs the xz compression on it. That way the default compression parameters used by dracut get lost. Fixes #335 - Improve rpm-check-signatures support This commit ensures the signatures are checked for both: the repository and the rpm package. It applies for zypper, dnf and yum package managers. - Fixup boot-load-size for efi loader in iso Pass the real boot-load-size of the used loader as number of 512byte blocks to the iso creation call. Related to (bsc#939456) - Update documentation to meet review results - Added GCE image primary setup information - Added Azure image primary setup information - Added EC2 image primary setup information - Map partition ID's from sgdisk to lowercase - rework building virtual disk image chapter Adapt to style as used in the live iso chapter and add references to low level topics regarding the setup of the image to work in the public cloud. Related to #323 - Get the first two characters of the gdisk partition code output According to the gdisk documentation the gdisk maps the partitions IDs to the MBR codes, but they are multiplied by 0x0100 in hexa. Meaning 0x8300 code is equivalent to 0x83 in MBR. This commit only considers the first two characters of the sgdisk partition code output. With this change the partition types are comparable, regardless of using MBR or GPT. - Fixes OEM deployments on a free partition, bnc#1039469 This commit updates the boot code for oem images. In case oem-partition-install flag was set, the boot code was not capable to find an appropriate partition due to not attaching properly the raw image as a loopback device. KIWI was calling 'losetup' command with wrong arguments. Fixes bnc#1039469 - Bump version: 9.6.1 ? 9.6.2 - Use 'yum-deprecated' if it exists when using Yum On Fedora and Mageia systems, the Yum package manager binary is named 'yum-deprecated', and 'yum' redirects to DNF. This is a problem for being able to build images of Linux systems that use Yum as its package manager, like RHEL/CentOS 7. So, in order to ensure we use the right package manager, we check for the 'yum-deprecated' binary and use it if it exists. - Restructure low level topic (iso_to_usb) The low level topic references information from the base topic. In this case the name of the previously built image. I think we should provide information on each low level topic which references information from a base topic. - Handle rpm-check-signatures flag for each package manager This commit adds support for the rpm-check-signatures flag, which sets the package manager to verify or not each package signature. By default KIWI assumes no gpg checks are done. - Separate low-level topics (dumping) * Separate the high-level (building) from the low-level part (dumping) * Introduce a subsection ("Working with Images"); not sure, if this is useful under "Building Images" * Enhance with some (general) advise about booting from USB - Provide missing _hybrid_iso label - Fixup check_target_directory_not_in_shared_cache The runtime check compared the given target path if it starts with the cache directory /var/cache/kiwi. This however also matches for e.g /var/cache/kiwi-foo which would be a valid target directory. This patch changes the matcher in a way to really check if the target directory points to the same cache directory structure. - Set default dracut output format to match upstream - Added dracut output file format detection Unfortunately the dracut initrd output file format varies between the different Linux distributions. Tools like lsinitrd, and also grub2 rely on the initrd output file to be in that format. Thus when kiwi uses dracut the same file format should be used all over the place in order to stay compatible with what the distribution does. Fixes #325 - Revised example for issue #323 * Add abstract (use `.. sidebar`, not sure if we should use it) * Collect all concept oriented text in the beginning * Introduce procedure and create steps * Remove lonely subsection and combine it with the procedure TODO: * Review * Decide, if `.. sidebar` is ok (or should we better use `.. topic`?) * Add additional, related information? - Bump version: 9.6.0 ? 9.6.1 - Update build docker images documentation This commit includes steps to install umoci and skopeo, descriptions for the configurable metadata in KIWI and some simple style fixes. - Fixed tox.ini doc target location of schema docs has changed, and we better disable the spell check as long as not all unknown technical terms are added to the wordlist.txt - Use correct service name variable - Refactor documentation layout and structure The current design of the documentation does not allow for continous improvement and development. It's missing a basic structure and concept for documenting step-by-step workflows and generic explanations. - Remove erroneous statement in request_package_exclusion() for Yum+DNF - Fixed markup in contributing chapter The headline of a subsection wrongly indicates a toplevel entry - Evaluate UNIONFS_CONFIG filesystem This commit makes sure the filesystem is parsed from the UNIONFS_CONFIG configuration variable when the PXE image is loaded to a block device. This commit fixes #316 - Fixed GPL license text to match headers and spec source headers and spec file is pointing to GPL v3 but the license file was still at version 2 - Add support for excluding packages when using DNF - Add support for excluding packages when using Yum - Fix comment about Zypper locks to reflect reality - Bump version: 9.5.0 ? 9.6.0 - Additional container commandline options Added --set-container-derived-from and --set-container-tag commandline options which allows to overwrite the data set in the XML configuration - Implement obsrepositories source on derived_from The following reference to a derived container: obsrepositories:/container#latest Will be translated into the following buildservice local path: /usr/src/packages/SOURCES/containers/_obsrepositories/container#latest - Implement obs source on derived_from The following reference to a derived container: obs:/project/repo/container#tag Will be translated into the following buildservice local path: /usr/src/packages/SOURCES/containers/project/repo/container#tag - Use urlparse to detect uri scheme The source location postfix can contain several different formats e.g :/, or :// or even just :, python's urlparse is able to cope with all that which allows to work with the url scheme base name and thus makes handling this code more robust - Bump version: 9.4.11 ? 9.5.0 - Include '--delete' in OCI images DataSync This commit includes #310 patch for OCI images. It also corrects the end of line format for kiwi/container/docker.py and test/unit/container_image_docker_test.py, so flake tests are all green. - Include --delete flag in DataSync for docker images This commit includes the --delete flag in order to synchronize the docker images. This is relevant for derived images where the new layer might not only add files, but also remove something from the base image. Fixes #309 - Define correct default locations for sources-dir and preferences-dir In order to ensure that the defined repositories in the KIWI configuration are set to the correct places for installing into the image, the sources-dir and preferences-dir need to be redefined to point to the in-image location, as it is done for the other package managers. - Do not purge the repositories before inserting them There are no good reasons to be purging the repo directories, especially when it is common for some distributions (Red Hat/CentOS/Fedora, for example) to ship repository configuration as packages. Deleting them puts the package manager in the system into a weird state, so we want to avoid this. - Fix default reposdir path for Yum - Add support for OCI images This commit adds support for OCI images. Most of the docker related code is reused for OCI classes and Docker classes have been refactored so now they are a splecialization of the OCI classes. It is done this way since KIWI internally only uses OCI format to operate with containers, therefore docker images just differ from OCI images by the way they are packaged or unpackaged. - Add clear attribute for entrypoint and subcommand sections This commit adds the possibility of clearing asny subcommand or entrypoint. This is relevant for docker derived images, as they inherit the configuration and it might lead to some bad behavior. - Bump version: 9.4.10 ? 9.4.11 - Add require/recommend installation support for yum This commit adds support to install required only or required plus recommended packages using yum as the package manager. - Add support for required/recommended packages This commit enables support to install only required packages or install required plus recommended packages. - Include 'plusRecommended' management for dnf Add support to enable/disable installation of recommended packages for dnf package manager. With this commit 'plusRecommended' patternType triggers on installation of recommended packages, which is turned off by default. - Make sure debian repositories database is populated before install This commit includes an 'apt-get update' call before any 'apt-get install' command. This way the packages database is always ready, even if no bootstrap procedure has been executed. - Bump version: 9.4.9 ? 9.4.10 - Add warning logs for unkown base image URIs - Update spec template for SLE13->SLE15 - Rename SLE13 to SLE15 - Follow up fix for grub2 setup in live builder The live iso builder still used a fixed boot/grub2 path but due to the refactoring this path is now distro dependant and should be obtained dynamically - Cleanup use of bootloader path in boot code Instead of repeating the bootloader path only specify it once per setup path - Add method to setup installation of recommended packages With this commit package manager are always set to include only required packages or set to include required and recommended packages. This commit fixes #285 - Bump version: 9.4.8 ? 9.4.9 - Update development and contribution chapter Fix some minor inconsistencies due to latest code changes with regards to py2 and py3 compatibility and also change the style of the chapter to be more straight forward for people who would like to contribute from scratch - Bypass bootstrap procedure if no bootstrap packages section This commit updates kiwi to bypass bootstrap procedure in case there is no bootstrap packages section. It also adds extra validation in root_bind. - Bump version: 9.4.7 ? 9.4.8 - Fixup grub2 template parameters The boot_directory_name parameters was missing for live and install image builds - Bump version: 9.4.6 ? 9.4.7 - Fixup grub2 bios module setup Only copy grub2 bios modules if the architecture supports it - Bump version: 9.4.5 ? 9.4.6 - Avoid GRUB_DISTRIBUTOR setup in etc/default/grub The GRUB_DISTRIBUTOR information can't be provided in a generic way for all distributions. The information should be either placed by a package post script (as done by most of the distributions) or by a custom kiwi config.sh or images.sh script. Fixes #286 Fixes (bsc#1032119) - Added support for unknown uri types for base image references This commits bypasses any URI check if the uri schema is unknown in RootImport class. This way the URI is bypassed to skopeo if it couldn't be translated to any known type. That enables referencing images with any URI supported by skopeo, i.e. DockerHub images. - Keep imported image in OCI format instead of docker Kiwi always uses OCI format for container manipulations, so it is easier to assume the image kept between prepare and create step is also in OCI format, this way less format convertions are needed. - Fixup bootloader menu title setup If the menu title is setup via the displayname attribute in the XML configuration, kiwi should not change this text by a prefix or any other style adaptions. Fixes #287 Fixes (bsc#1032118) - Fixup copy of array in boot code The filtered nic interface names are stored in an array and copied back into the original array. The copy of the array was semantically wrong - Fixup grub2 setup and tool calls Depending on the distribution the grub tools are either named grub2-tool or grub-tool. Additionally the grub configuration data is expected to live in boot/grub2 or boot/grub. This commit handles the tool calls and also the grub boot directory setup in a generic way - Include SLE13 boot descriptions for x86_64 and arm This commit includes boot descriptions for SLE13, the descriptions are based on leap 42.3. - Delete obsolete ec2 disk format The ec2 value in the format attribute is deprecated and no longer supported It remained in the schema for a while and has now reached EOL - Bump version: 9.4.4 ? 9.4.5 - Fixup theme setup in boot Make sure grub theme data is populated in the boot directory. Checking only for the presence of the theme directory is not enough. If the theme directory in boot does not contain the requested theme it must be provided including a warning if the theme data could not be found in the system - Do not change the API in an incompatible way - Use request_package_exclusion method in prepare - Refactor method name of package manager interface The request_package_lock was renamed into request_package_exclusion because that is the goal, to actually exclude(skip) a package. From an implementation point of view this is done to set a lock in the zypper case. However other package managers might do it differently. The interface should stay consistent with regards to the user goal and not with the package manager specific implementation. This Fixes #248 - Added <oem-nic-filter> element Allow network interface names to be filtered by the given regular expression. The expression is handled by the bash regexp operator. Interface names matching the rule will be filtered out, all others stay. It is also possible to pass the variable kiwi_oemnicfilter as kernel command line in a PXE deployment. Fixes #245 - Bump version: 9.4.3 ? 9.4.4 - Delete no longer needed btrfs bootpath setup The adaption of the bootpath in the grub.cfg file with regards to the btrfs toplevel volume named '@' was the wrong solution. The fixes in the btrfs filesystem setup and the config files etc/default/grub and sysconfig/bootloader caused the grub toolchain to work properly. This Fixes (bsc#1030038) - Convert user input to absolute paths This commit converts the paths provided by the user with the command line to absolute paths. The effected arguments are: * --root * --target-dir * --bundle-dir This supersedes and fixes #271 - Support editbootconfig also for the iso type This Fixes #274 - ensure grub.cfg exists in EFI path for iso images For live and install iso image boot configurations the bootloader configuration must also exist in the EFI boot path - Throw a proper msg on missing filesystem reference Don't set a filesystem factor if no filesystem reference is set - Throw a proper exception on missing boot reference - Update schema documentation Add explanation for attributes with no documentation Fixup explanation for hybrid attribute - Recommend jing in case of XML validation errors, jing is used to provide good error messages. jing as a requirement will pull in all of java which is unwanted, but a Recommends seems appropriate - Update flags attribute and its documentation Delete the seed and compressed value as it is not implemented and won't be supported in the future. Properly document the existing overlay methods - Added doc info for kiwinoswapsearch boot parameter - Bump version: 9.4.2 ? 9.4.3 - Fixed checksum file creation If the checksum should be created from a compressed file it is expected that the checksum of the uncompressed file is added to the checksum file. This is because in a pxe deployment the uncompressed version of the file is put on disk and compared with the reference information in the checksum file - Refactor ip link detection There is no reliable way to check if a link is unplugged, thus the code has changed into the following workflow 1. use interfaces which returns success on ip link set up 2. wait for the UP state on all of these interfaces and return if one of them enters the UP state 3. call a fixed wait state to allow to kernel network drivers to settle 4. run through all remaining interfaces, discover the link state and call a DHCP discovery - Bump version: 9.4.1 ? 9.4.2 - Fixup pxe builder filesystem image rootfs was not in toplevel - Bump version: 9.4.0 ? 9.4.1 - Fixup pxe builder Generate a tarball containing all relevant pxe boot result files instead of a bunch of extra files. This also turns the pxe builder to be compatible again with the legacy kiwi pxe bundler - Don't create shasum over an md5 file - Bump version: 9.3.3 ? 9.4.0 - Allow https location as repository source - Refactor RootImport to keep images with a default name RootImport has been refactored so the image is kept with a known name that can be obtained with the Defaults class. - Added SLE13 distribution matcher - Update distribution matcher in spec file - Refactor ContainerBuilder Use Checksum instance to run a checksum match Check for existence of base image at earliest opportunity when constructing a ContainerBuilder - Added checksum matcher method to Checksum class - Delete unused code Also fixed corresponding unit test - Make sure LICENSE and README got installed - Handle derived image as Uri instance - Add completion for versioned binaries when installing kiwi via pip, no alternatives setup done when installing via rpm will be performed. In order to allow the bash completion to work also the versioned binaries needs to be added in the completion script - Bump version: 9.3.2 ? 9.3.3 - Add documentation hint for multipython package - Setup package for multipython build Build package for both python2 and python3 - Refactored RootImport and included checksum validation First, commit refactors RootImport in order to also copy the imported image after sychronizing the import. Second, it includes a checksum of the copied image which is validated in later steps. - Added Leap42.3 boot descriptions - Deleted openSUSE 13.2 boot descriptions - Refactor Uri constructor Make repo_type an optional parameter, which is only required if the specified uri leaves a type choice - Fixup PyPI entry registry The wrong project url was referenced - Support for layered docker images This commit includes support for building layered docker. A new layer is added on top of the base image referenced by `derived_from` attribute. - Bump version: 9.3.1 ? 9.3.2 - Fixed MANIFEST.in kiwi.solver code was not included into source archive - Bump version: 9.3.0 ? 9.3.1 - Fixed doc api build for renamed source file - Bump version: 9.2.4 ? 9.3.0 - Flake8 fixes for unit tests - Apply code quality checks for unit tests too - Fixed import of solv module - Import root system from a given image This commit includes the root import feature. A `derived_from` attribute has been included with the <type> section to make reference to the image file to import. The image format to import is assumed to be the same as the build type to import. The current format supported is docker - Flake cleanup for unit tests - Prevent use of project relative import statements For details on the motivation of this change please visit: https://wiki.python.org/moin/FutureProofPython - Allow activation/deactivation of sysV services systemd is still legacy sysV init compatible, thus the kiwi helper scripts to activate/deactivate services should not only be limited to systemd services. Fixes #256 - Support package capabilities in sat solver A solver operation can receive a package or pattern name but a capability name was considered a package name and failed to resolve. This commit fixes the solver operation with regards to package capabilities - Add runtime check for kernel match If a kiwi initrd is used, the kernel used to build the kiwi initrd and the kernel used in the system image must be the same in order to avoid an inconsistent boot setup. This is related to (bsc#1027610) - Added runtime check for boot image reference If an initrd_system different from kiwi is selected for a vmx (simple disk) image, it does not make sense to setup a reference to a kiwi boot image description, because no kiwi boot image will be built. Despite that it does not hurt it's still an inconsistent setup. This is related to (bsc#1027610) - Bump version: 9.2.3 ? 9.2.4 - Update documentation the docker build container is now build with the correct namespace. Thus no image tagging is required anymore - Bump version: 9.2.2 ? 9.2.3 - Support container names with slashes (#254) Umoci tool doesn't require any other parameter than a tag to identify the container. So container_name value is not used in umoci. This Fixes#253 - Use default command only if no entrypoit and subcommand aren't set Fixes #251 - Fix tagging for OCI images This commit fixes the tagging schema for umoci. An OCI image name is path[:tag], this commit rearranges some variable names to avoid confusions between names and tags. Fixes #249 - Add support for repository credentials The package and solver repository classes did not provide an interface to deal with repository credentials. This commit add support for the zypper package manager and the generic urlopen based download method of the solver class. This Fixes #246 - Bump version: 9.2.1 ? 9.2.2 - Update documentation Add detailed information how to update the docker Build Container on the official dockerhub registry. This is needed to use custom or newer versions of the currently published Build Container - Bump version: 9.2.0 ? 9.2.1 - Update documentation The changes in building docker images now allows for using the docker load command to import the dice container - Fix default reposdir path for DNF - Bump version: 9.1.0 ? 9.2.0 - Added support for exclude docs for dnf - Fixup default cache and plugin dir for dnf - Update distribution support status Add information that Fedora systems are now supported as well - Make sure bootenv can be initialized An existing grub bootenv file should be deleted prior to calling grub2-install in order to allow grub2 to create a new correct bootenv file - Added DNF package management implementation DNF is the package manager used on Fedora systems and will also most likely replace yum for the next generation of RHEL. Along with the implementation here an example JeOS image description for Fedora can be found on: https://github.com/SUSE/kiwi-descriptions. This Fixes #36 - Follow up fix for network driver delay Each network interface will be switched off for a short moment when the kernel network driver is loaded. During that time the link status information would be misleading. Thus we wait a short time before the link status check is started - Include compression optimization flags for mksquashfs command This commit includes some flags for mksquashfs command in other to achieve higher compression rates. Also note that those flags were already present in KIWI former versions, thus they have been included again for compatibility reasons. This commit fixes #242 - Allow to convert GPT into MBR The type attribute force_mbr allows to convert a system selected for use with a GPT to use an MBR (msdos table). The attribute only takes effect on image configurations which would select the GPT partitioner. This Fixes #236 - Wait for network drivers to pass init Before we check for the link status a waid period of 3 seconds should guarantee that the network drivers have passed the init routines - Refactor waitForLinkUp Put code which does not belong into the loop outside of the loop. Also maintain sleep timeout and retry count in variables - Fixed waitForLinkUp and setIPLinkUp The setIPLinkUp method did not handle the return value of the waitForLinkUp call and always returned success even if waitForLinkUp ran into a timeout The waitForLinkUp method was improved in a way that it does not wait if the link detection discovered the interface is unplugged. The detection if a cable is connected or not only works if the ifplugstatus tool was found in the initrd - Bump version: 9.0.2 ? 9.1.0 - Implement handling for efipartsize - Decrease default EFI partition size to 20MB The former default of 200MB was way too large and is a waste of space. Related to Issue #237 - Added efipartsize attribute in type setup The attribute allows to specify a custom size for the EFI partition. Fixes #237 - Allow bootloader="custom" for bootloader attribute If specified as such the bootloader configuration and installation will be skipped. However the editbootinstall and editbootconfig scripts will still be called. This Fixes #235 - Fixed create_repository_solvable If the solvable already exists, the method should return it - Added handling for spare_part attribute Add a spare partition right before the root partition of the configured size. Fixes #234 - Added new type attribute spare_part spare_part receives a size value with an optional unit (M|G) and is used for disk images to allow the creaton of a spare partition of the configured size. Issue #234 - Delete all traces of vboot firmware The vboot firmware setup was a workaround on arm for the chromebook platform several years ago. From a todays perspective the setup and the way to boot would be different and obsoletes the special case implementation. Thus this is gone now. Related to Issue #234 - Prevent quoted domain name in dhclientImportInfo We're getting domain name by parsion a lease file. Unfortunately in lease file domain name is quoted, which breaks linux resolver. This commit gets domainname unquoted - Add manual page for image info command - Added kiwi image info command Allow to list information about the image description. In a first implementation one can show the image name as well as run a dependency resolution for the packages listed in the XML description - Bump version: 9.0.1 ? 9.0.2 - Added uri translation for SUSE factory The obs uri 'obs://openSUSE:Factory/standard' does not follow the standard http url translation schema and needed a special handling in order to resolve correctly - Eliminate instsource element and requirements The schema defintions for kiwi v8 still contained the product schema definitions aka instsource which is no longer supported by this version of kiwi. Building SUSE products is done with the kiwi v7 code base and will most probably be handled by an extra product builder tool in the future maintained and developed by the buildservice team. We would be proud if the api of the kiwi v8 code base can be helpful for the product builder in the future - Bump version: 9.0.0 ? 9.0.1 - Added arch attribute for ignore section The packages subsection <ignore> only accepted a package name to become ignored. However a <package> subsection to install a package allows for an arch selection. The same should apply to ignore a package. In addition the allowed content for the arch attribute has been changed from simple text to a regular expression. Allowed is a comma seperated list of reserved architecture words like they are displayed by uname -m - User format method to form the message - Added support for package locking for zypper Zypper supports the al (add lock) command which allows to ignore a package in the dependecny resolution process. This is useful to prevent installation of a package which was pulled in by e.g a recommendation flag from the spec file. Packages marked to be ignored are not handled for apt and yum right now. Using this feature together with an unsupported package manager backend results in a warning to the user - Included some file naming convetions - Components of an Image Description section This commit extends the doc/sources/workflow.rst documentation by including details about config.sh and images.sh files. - Bump version: 8.29.6 ? 9.0.0 - Update documentation Add information about new hook: handleMachineID - Bump version: 8.29.5 ? 8.29.6 - Fixup isolinux timeout configuration isolinux counts the timeout in units of 1/10 seconds. Thus the value provided in the image description needs to be adapted correctly. This Fixes #228 - Bump version: 8.29.4 ? 8.29.5 - Fixup setupMachineID Cleaning up existing machine id files by deleting them causes an interactive session to be started by systemd This is something we don't want. As the consequences of touching the machine id files seems to be too critical the method has been turned into a hook caller. This allows the user to make use of it on their own purpose and by default doesn't mess with the machine id files - Bump version: 8.29.3 ? 8.29.4 - Change processing of setupMachineID Instead of creating new machine ids for systemd and dbus the method now cleans up all existing machine ids and leave it up to systemd to initialize and create new ids. This allows to make use of the native way how systemd retrieves and handles machine ids - Fixup typo in ReST style - Bump version: 8.29.2 ? 8.29.3 - Add utils.sysconfig to api documentation - Completion for grub bootloader configuration The configuration files /etc/sysconfig/bootloader and /etc/default/grub needs to be created/updated with the relevant values regarding the bootloader setup done by kiwi. This Fixes #226 - Apply volume attributes for btrfs and lvm The chattr utility is used to apply file attributes So far only the no-copy-on-write attribute can be specified in a volume setup. If further attributes are needed they will be added on demand - Added attributes element in volume type - Added volume attribute copy_on_write The copy_on_write attribute allows to activate or deactivate the copy on write functionality for the desired volume. This Fixes #218 - Make sure there is a storage default setup on s390 Storage disks on s390 requires an information about the type and the blocksize. In case these information is not provided in the kiwi XML configuration, None was set as value in the zipl configuration which lead to an error. This commit provides default values for those parameters - Bump version: 8.29.1 ? 8.29.2 - Allow unix device names in oem-unattended-id setup In order to allow a raw device name in oem-unattended-id the /dev tree has been added to search list. This is useful if e.g a ramdisk device which is not part of any /dev/disk/... or /dev/mapper device map should be used as target disk for the deployment. Thus a setup to stick the deployment to e.g /dev/ram1 would look like this <oem-unattended-id>ram1</oem-unattended-id> This Fixes #221 - Don't delete ip tools from oemboot network tools are needed for oem disk deployment via pxe - Added .coveragerc Clearly indicate which source files are excluded from the coverage report - Make sure setupMachineID also cares for dbus Systemd and dbus should use the same machine-id. Therefore a symlink /var/lib/dbus/machine-id pointing to /etc/machine-id is created right after systemd-machine-id-setup. Fixes #219 - Fixup duplication of btrfs toplevel volume If using root btrfs snapshot, the default toplevel subvolume is set to /@/.snapshots/1/snapshot, thus all defined subvolumes are mounted under that cusomized default subvolume. For the first time subvolumes are mounted it is fine to include /@/.snapshots/1/snapshot prefix as root is not yet set to that specific path, however in any future mount this path prefix is not needed any more, as the root get mounted in /@/.snapshots/1/snapshot by default. Fixes (bsc#1015549) - Add check_docker_tool_chain_installed Runtime check to check for required docker tools umoci and skopeo. As long as tools tools are not available in the core distro of all distributions we avoid spec file requirements and check at runtime if they can be found - Bump version: 8.29.0 ? 8.29.1 - Rebuild schema documentation - Bump version: 8.28.3 ? 8.29.0 - Running config.sh after including the image repositories This commit rearranges some code lines in order to run the config.sh script after the repositories of the image have been included, this way repositories can be trusted and refreshed in config.sh script. - Refactor docker container creation Instead of creating a simple tarball the tools umoci and skopeo from the docker tool chain are used to create official docker images. Along with those tools more information to describe a container has been added to the schema. A complete container setup now consists of the following elements <type image="docker"> <containerconfig name="..." maintainer="..." user="..." workingdir="..."> <entrypoint execute="command"> <argument name="option"/> ... </entrypoint> <subcommand execute="command"> <argument name="option"/> ... </subcommand> <expose> <port number="..."/> ... </expose> <volumes> <volume name="..."/> ... </volumes> <environment> <env name="variable" value="value"/> ... </environment> <labels> <label name="..." value="..."/> ... </labels> </containerconfig> </type> - Update container builder code to new schema layout - Auto update image descriptions to schema v6.5 - Update schema for container setup In preparation to support creation of native docker containers the way docker likes it, the kiwi schema has to be adapted. So far there was no way to specify additional metadata information for containers. With this commit a new section called <containerconfig> is provided. containerconfig is a subsection of the type and only allowed for the docker image type. This constraint is checked via a schematron rule. In addition an xslt stylesheet moves the currently existing container attribute, which was used to set a name for the container, into the new containerconfig section as name attribute - Bump version: 8.28.2 ? 8.28.3 - Fixed quadruple_token tokenizer Information not provided should end up as a None type in the list in any case. If an empty string was provided via e.g --add-repo source,type,, the tokenizer puts in an empty string. If the information was provided as --add-repo source,type a None type was used. The code handling the information expected a None type for not provided information, with an empty string we end up in validation code which e,g complains that an empty string can't be converted into an integer base repo priority - Bump version: 8.28.1 ? 8.28.2 - Update documentation Default provider must be set in the caller environment if different from the default docker provider - Bump version: 8.28.0 ? 8.28.1 - Update container builder documentation Add information about the now available kiwi build box and the use of it as part of libvirt provider setup for vagrant - Bump version: 8.27.5 ? 8.28.0 - Bump version: 8.27.4 ? 8.27.5 - Fixup spec file build requires shadow tools are needed for %pre tasks using groupadd/useradd tools - Bump version: 8.27.3 ? 8.27.4 - Fixup spec file tftp group/user setup Let %pre fail if groupadd/useradd failed and show the error to the user - Added DiskFormatVagrantLibVirt class Allow to build vagrant boxes for the libvirt provider This Fixes #15 - Update vagrantconfig schema setup Delete the virtualbox provider, As long as there is no opensource variant for the ovf creation available we won't support that provider - Bump version: 8.27.2 ? 8.27.3 - Adapt documentation to rtd schema replace topic node used for abstract by a hint. This results in a color box for the abstract which looks better than what rtd does with simple topics - Adapt schema generator to rtd doc schema - Move to rtd sphinx schema The read-the-docs schema fits better into the mainstream of online documentation - Bump version: 8.27.1 ? 8.27.2 - Added check_volume_setup_has_no_root_definition The root volume in a systemdisk setup is handled in a special way. It is not allowed to setup a custom name or mountpoint for the root volume. Therefore the size of the root volume can be setup via the @root volume name. This check looks up the volume setup and searches if there is a configuration for the '/' mountpoint which would cause the image build to fail - Prevent warning about unknown opt in workflow doc - Bump version: 8.27.0 ? 8.27.1 - Rebuild schema documentation - Add a docstring for the extension section Short description what the extension section is good for - Prevent any type from attribute recursion The schema parser to create the documentation run into an endless recursion for the new k.any type. As any could be anything there is not much do document for this type. Thus it is now skipped from the traversal - Bump version: 8.26.1 ? 8.27.0 - Update documentation per review - Including minimum volume size offset in disk size calculation This commit adds Defaults:get_min_volume_mbytes() to the disk size calculation algorithm. This should be sufficient to hold fdisk default offset when creating the first partition and also to hold the LVM metadata. - Added extension documentation - Make sure to catch exceptions from xsltproc - Add extension validation and data access If an extension section exists the xml data in this section is validated against the RelaxNG schema which must be part of the xmlcatalog for the used extension namespace. If the data validates the method get_extension_xml_data can be used to access the etree parse result for each of the extension configurations - LVM volumes management during grub2 install During the grub2 install process volumes were not mounted properly, a proper mount order was not taken into consideration and LV device information was not given by the method get_volumes in VolumeManger. This commit forces the mount (and umount) operations to be done in coherent order and also modifies the get_volumes method in order to return the device associated to each volume. - Allow <extension> section for custom plugins For the use case to add additional image description information an extension section exists which allows to add custom section and attributes. Custom XML information must be connected to a namespace in order to avoid conflicts with the existing structure. The following example shows how to place additional XML information: <image> <extension xmlns:my_plugin="http://www.my_plugin.com"> <my_plugin:my_feature> <my_plugin:title name="cool stuff"/> </my_plugin:my_feature> </extension> </image> - Fixed expansion of msdos disks If the target disk size is beyond 2TB it can't be expanded to the full size if the msdos partition table layout is in use. Because of this the disk expansion will be limited to the allowed maximum for the msdos partition table type which is at 2TB. This fixes bnc#1010966 - Bump version: 8.26.0 ? 8.26.1 - Fixup of string + operator vs. join use - Fixed setup_disk_image_config in bootloader setup The parameter for the uuid is not enough to handle all supported disk geometries. If the disk has an extra boot partition the bootloader setup must read the boot data from the boot partition but must set the root for the kernel cmdline to the root partition. Therefore the interface needs to change and must provide both the boot_uuid and the root_uuid in oder to allow the method to setup the correct values - Parse arch attribute as a comma separated list This commit ensure that the arch attribute of each package section is parsed as a comma separated list. This way, as in previous kiwi versions, each package might be suitable for one or more specified architectures. - Fixup kernel name setup in disk builder The Kernel instance is the only correct place to ask for the kernel name. This class has the responsibility to know information about the selected kernel. The additional arch based assumption on the kernel name in the disk builder were wrong. This fixes bnc#1011936 - Fixed typo in solver api documentation - Bump version: 8.25.5 ? 8.26.0 - No more hard links in result bundle This commit changes the copy command of the result bundle task. Now instead of creating hardlinks a relugar copy is performed. This way we ensure that the bundled files will not be modified by overwritting a linked file. - Documentation workflow review - The Sat solver class - an example The Sat solver class can be used to run a solver operation over a list of packages and/or patterns in order to receive a dependency solved list of all required packages according to the request. In order to do that a set of repositories is required which provides the package metadata and their requirements. The following is an example how to use the Sat class in your application: ```python from kiwi.solver.sat import Sat from kiwi.system.uri import Uri from kiwi.solver.repository import SolverRepository solver = Sat() solver.add_repository( SolverRepository(Uri('obs://leap/42.2/repo/oss', 'yast2')) ) print(solver.solve(['vim'])) ``` - Fixup code smell for kernel name list Iterating over only one list item doesn't need a loop - Fixup style to be more pythonic - Fixed release network using ip tool Apply the cidr fix from setupNic and introduce a new method called deleteNic which replaces the wrong ip call from the releaseNetwork method. Fixes bnc#1003091 - KIWI workflow documentation This commit ports the workflow documentation from previous KIWI version and also adds a sections for listing the boot parameters configurable in the Kernel command line. - Fixed kernel name lookup Complete the list of kernel names for the lookup. Normally the kernel package provides a symlink to the actual kernel image file. However if the link does not exist we extend the search to a collection of names for possible kernel images. The new list now also covers kernel names as used for arm Along with the change this patch also provides an option to raise an exception if the kernel lookup did not find any kernel, which is used for the get_kernel() request in the dracut initrd system setup where it is mandatory to find a kernel image. This fixes bnc#1010874 - Added Sat solver class Added implementation for Solver class based on the SUSE libsolv C library and the solv python binding - Bump version: 8.25.4 ? 8.25.5 - Fixup lease time in setupNetworkWicked The default lease time with 300s used by wicked is relatively short and different from the default lease time of the former dhcpcd. This change causes wicked to use a lease time of 3600s This is related to bnc#1003091 - Fixup default behavior of releaseNetwork If no tool was found to communicate with the dhcp server in order to free the lease the method did nothing. However it should at least bring down the network. This is related to bnc#1003091 - Bump version: 8.25.3 ? 8.25.4 - Fixup get_volumes for lvm manager The method also returned the root volume in the list of volumes but it should only return a list of volumes excluding root volume - Fixup setupNic for address information in cidr Ignore netmask if address is already in cidr format - Bump version: 8.25.2 ? 8.25.3 - Fixup btrfs property setup The readonly property is set on the filesystem toplevel. kiwi has set the toplevel before any property is set. - vhdfixed images result compression This commit adds compression to the Result instance of the vhdfixed disk. This concrete format is not compressed or dynamic, so that, it makes sense compress them. Also this was the behavior in previous kiwi versions. - Replace tabs with spaces - Fixup handling for root_is_readonly_snapshot The information was not passed to the VolumeManager instance - Fixup mount_volumes in VolumeManagerBtrfs It is required to mount the toplevel btrfs filesystem if not already mounted, prior to mounting the subvolumes - Fixed busy mount state Make sure subvolumes are umounted first. This prevents a busy state in a partition setup with an extra boot partition - Bump version: 8.25.1 ? 8.25.2 - Fixup creation of etc/default/grub config file Only create the file if the base directory structure in etc/default exists. - Remove empty line too much - Implement loading of snapshots and fix snapshot menu layout. If you want to boot an old snapshot, but not to do a rollback, we need to tell the kernel which snapshot to use. This patch also fixes the broken layout of the grub snapshot menu. - Move source of grub-snapshot.cfg to the right position grub-snapshot.cfg should not be sourced at the begining, but at the end of grub.cfg. Else with creating the first snapshot this entry is getting the default boot target and the system does not boot automatically anymore. - Fixup netboot code for multipath boot device If the root disk in a netboot deployment is a multipath device we have to make sure the multipathd is started and the boot device is mapped to the wwn - Bump version: 8.25.0 ? 8.25.1 - Update doc string for download_from_repository The doc string for this method contained a mime string which is spuriously validated by the sphinx url checker. This commit rewords the text in a way that the checker is happy again - Bump version: 8.24.10 ? 8.25.0 - Do not delete all repositories if there aren't repositories to import (#191) This commit adds a tester method to check if there is any repository marked as imageinclude. The method is used to execute import_repositories_marked_as_imageinclude method only when it is actually needed. - grub.cfg: Fixes for btrfs as rootfs This addresses the following issues * An image based on btrfs using the entire boot as a subvolume causes grub to be unable to find its config file. Thus kiwi now raises an exception in this situation * Don't prefix the bootpath with the snapshot path if the btrfs root is placed in a snapshot. Instead the file etc/default/grub must be written/updated with the SUSE_BTRFS_SNAPSHOT_BOOTING variable set to true. Once this is done the bootpath is consistently set to /boot no matter which snapshot is active - grub.cfg: Source grub-snapshot.cfg if present Add a lookup for /.snapshots/grub-snapshot.cfg to the generated grub.cfg. The file is shell sourced if it exists - No need to mock Path.which There is no need to mock Path.which as isoinfo binary from the platform is needed to run the test, so better let the system look for it, note that the binray can be located in the alternate location (/usr/lib/genisoimage/) which is not part of the PATH. In that particular case the iso_test would fail if we mock Path.which. - Updated system size calculations test - Updated test for vhd-fixed subformat type - Increase the default image size for XFS filesystems When no size is specified in type section the resulting image size is calculated using the size of the whole build-root increased by an empiric factor. Some tests revealed that this factor was not enough for XFS filesystems. The empiric factor has been increased. This commit fixes #186 - vhd-fixed name corrected in subformat init class This commit reverts the previous one and it applies the name change to the subformat class initializer. This way the schema is not altered and we keep compatibility with previous description files. - vhdfixed format naming inconsistency vhdfixed storage format name was not updated according its real name in the kiwi schema, making it impossible to build any vhdfixed image. The schema used to expect 'vhd-fixed', however, internally, the code was expecting 'vhdfixed'. The schema has been updated. This commit fixes #184 - Implemented SolverRepositoryRpmDir Add support for local rpm-dir repositories - ActivateImage links correction Loading the iso image into a read-only ramdisk caused some issues due to the activatImage method cp commands. With this commit the symlinks are consistent during the preinit phase and also before running the cp command it is tested we are not in a read-only filesystem. This commit is a port form openSUSE/kiwi#613 PR - Implemented SolverRepositoryRpmMd Add support for rpm-md repository types - Fixup ip setup in setupNic The invocation of ip in setupNic was invalid. The way this was done causes the netmask to be set as broadcast address Related to bnc#1003091 - Implemented SolverRepositorySUSE Add support for SUSE online and media repository types - Add repo_type info to Uri class This allows to eliminate the repo_type from the paramter list of the SolverRepository class, which then only needs an instance of Uri - Implement SolverRepositoryBase Base class and interface for building a SAT solvable from a given repository - Added API doc hook for solver path - Bump version: 8.24.9 ? 8.24.10 - Delete sphinxcontrib-programoutput setup Deleted it from virtualenv development requirements and from the sphinx configuration file - Delete use of sphinxcontrib-programoutput The developers of this sphinx extension decided to delete the module on pip and also the source from git... it's dead. Thus I replaced the dynamic usage output in the manual pages with the static version - Initial structure to support SAT solvables A SAT solvable can be used together with python-solv to implement performant package solving tasks. This is the initial structure to allow the creation of such solvable files from specified repositories. We will support the repo types yast2, rpm-md and rpm-dir in the first place. - updateOtherDeviceFstab did not get the fstab location parameter This is port from the kiwi v7 code base openSUSE/kiwi#610 - Load the default unicode font in grub2 This commit fixes #179. The default font was never loaded, the loadfont call for the default was missing. - Bump version: 8.24.8 ? 8.24.9 - Fixed waitForStorageDevice Value for storage_size was not really used - Bump version: 8.24.7 ? 8.24.8 - Make sure kiwiserver/kiwiservertype is used If kiwiserver and/or kiwiservertype is specified on the kernel commandline they should take over precedence for up- and download of image files compared to the host setup in the IMAGE variable. - Don't mix python module requirements The tox setup mixes the deps modules depending on the tox target with either virtualenv.dev-requirements.txt or fixed deps lists in tox.ini. This change clean up the module dependencies for development targets to be taken from virtualenv.dev-requirements.txt exclusively - Update travis runtime requirements Installing python modules from source via pip requires git - Bump version: 8.24.6 ? 8.24.7 - sphinxcontrib-programoutput no longer on pypi Use the version from git directly to build the documentation In the long we should find an alternative for this sphinx extension - Fixup root init with existing host cache Creating a new root init with a shared location which already provides directories of the system failed on init of those directories. Only create the not yet existing directories - Fixup the wicked thing again - Put setupNetworkWicked in line with former dhcpcd The way setupNetworkWicked implements the dhcp discovery was incomplete. This Fixes bnc#1003091 - Fixup assembling of mdraid array when udev discovers an mdraid array it partially starts the array. That is interfering with the mdadm --assemble call by kiwi which leads to a busy state and an array in inactive state. Therefore the method should wait until the raid array really exists no matter if the assembling is started by udev or kiwi's mdadm call. In addition if the array got assembled but is incomplete because devices are missing or the timout is fired, an additional call to start any array that has been partially assembled is required. pxeRaidAssemble will throw an exception if after this call no md device with a size > 0 will show up after a timeout. This Fixes bnc#1000742 - Fixup waitForStorageDevice The function will return success if the size of the storage device can be obtained and is greater than zero. The pure success on reading from the block layer is not enough. In order to actually work with the device it must provide a size > 0. Related to bnc#1000742 - Bump version: 8.24.5 ? 8.24.6 - Fixup initial directory creation for new root During testing of alternative cache locations an init problem with the var/ directory was observed - Do not allow imageinclude for images build in obs Fixes #178 - SystemPrepare instance delete before runnig SystemSetup This commit fixes#175, now multiple profiles in OBS are possible using kiwi boot initrd. - Use docopt's default value feature for cache dir - Cleanup unit tests using sys.argv The tests should restore to the default argv option set as provided by the test_helper - Update manual page Include information for new --shared-cache-dir option - Added global option --shared-cache-dir The option allows to specify an alternative shared host_to_image cache directory. The default location is /var/cache/kiwi. Fixes #92 - Fixed a couple of constraints - Redo of xml_parse.py with updated generateDS - Initialize the systemd machine ID on first boot The systemd machine id is considered to be a unique information Thus it is required to initialize it on first boot of the image. If the image uses the kiwi boot code (initrd) this action is performed and and Fixes #169 - Bump version: 8.24.4 ? 8.24.5 - Some tests slightly modified in order to improve coverage This commit improves some example kiwi files and tests in order to achieve a 100% code coverage. - Corrections on test kiwi description files Some attributes needed to be changed in the test xmls. With this commit all the description files are consistent with the new co- occurrence constraints. - Co-occurrence constraints included in the schema Constraints for pxe, iso, vmx, oem and docker image types have been included. - config.partids only required for kiwi initrd If dracut is used as initrd system an unused config.partids file is generated. The partition id information is only used by kiwi boot code not by dracut boot code. Related to bnc#1005246 - Bump version: 8.24.3 ? 8.24.4 - Make sure dracut initrd is copied correctly - Fixed a rounding error in partedMBToCylinder method bc truncates number of cylinders to zero decimal places, which results in a partition that is slightly smaller than the requested size. Add one cylinder to compensate. - Integrating Schematron syntax in schema Using Schematron syntax in schema co-occurrence constraints can be easily defined. This commit provides the schematron integration. - Bump version: 8.24.2 ? 8.24.3 - Write fstab to kiwi boot image only For the dracut initrd system the call happens in the system root tree which already provides the fstab data - Bump version: 8.24.1 ? 8.24.2 - Dereference boot arch symlinks - Bump version: 8.24.0 ? 8.24.1 - Fixed typo in build Makefile target - Bump version: 8.23.0 ? 8.24.0 - Use format method for messages in image_resize There are more places where this cleanup from %x format attributes to the format() method is required. Here it is done in the scope of the image resize task - Bump version: 8.22.0 ? 8.23.0 - Fixed setup.py custom install target Make install method aware of --single-version-externally-managed This option is passed to the call by pip if not installed as egg - Added setuptools to development requirements - Delete travis pypi deployment After weeks of try and error, this simply does not work for me Manual deployment via make pypi and a local account works fine Maybe this can be solved in the future but for now I can live with a manual step - Package kiwi/boot/arch into sub archive The sdist target runs into an infinite loop if installed via pip. It seems the symlink files below boot/arch confuses distutils - Bump version: 8.21.1 ? 8.22.0 - Revert "pycparser 2.15 does not play well with xattr" This reverts commit 428436988d1db1017adfb6e92dbc3235d54e06b3. - Only resize disk format if required Only resize the disk format if the raw disk has been changed If the size of the raw disk is the same as the requested size just print a message to the user - Simplify help call - Smarter way to calculate bytes from a size unit - Explicitly bool check for the service name option From docopt we expect a True/False value for the selected service name positional parameter. Thus the code should also make it clear what we expect - Use format method instead of printf like style - Update resize_raw_disk method Do not resize the disk if an attempt to resize to the same size was made. Do not fail in this situation but indicate via a bool return value if an action has happened(True) or not(False) - Use latest version of pip for tox setup - Revert "Fixup travis setup" This reverts commit ee9e633d78833d02a535e6f4d2ce775425082872. - Revert "Fixup travis.yml" This reverts commit 1c80841e8c264ba1957e2ae6b53d2af2929479b0. - Fixup travis.yml Make sure python-tox gets installed - Fixup travis setup No need to install requirements, this is all done by tox - pycparser 2.15 does not play well with xattr Use pycparser 2.14 in setup.py and virtual env requirements - Fixed setup.py install target pip calls the install target but not the build target. For kiwi's tools this means they need to run the tools compilation if not already done prior to the installation of the tools - Call dracut in system root tree Change BootImageDracut class to call dracut in the specified system root directory and not in a self prepared new root environment. dracut reads scripts and dracut module configurations from the installed system components, e.g kdump. Therefore calling it from an isolated runtime environment creates an initrd which is not matching the system components. Fixes bnc#1005246 - Added kiwi image resize command The image resize command allows to resize a disk image and its optional disk format to a new disk geometry - Added manual page for image resize command - Add raw format to subformat factory - Allow ftp:// uri style for package repositories - Add grub2-efi-modules in rhel boot descriptions This package provides the efi modules which are needed if a custom efi module is build by kiwi via grub2-mkimage - Fixup doc string for target_removable attribute The default behaviour was not explained clear enough - Added resize_raw_disk method in DiskFormatBase Allow to increase the disk geometry of a disk image file in order to create free space on this disk - Handle target_removable in kiwi disk builder - Handle target_removable in kiwi boot code - Store kiwi_target_removable in profile env - Added target_removable attribute Indicate if the target disk for oem images is deployed to a removable device e.g a USB stick or not. This only affects the EFI setup if requested and in the end avoids the creation of a custom boot menu entry in the firmware of the target machine on first boot. This is related to bnc#993130 - Use XML parser to test XML output for info.xml - parenthesis in imports only for multi-line imports - Delete unused textwrap import - Move info.xml test data into its own file - Fixup code smells per review Only import what is needed, concat strings by a join - Create info.xml file for btrfs snapshot If the system is installed into a btrfs snapshot a metadata file called info.xml is created which is used by tools like snapper. Fixes bnc#1000117 - Cleanup use of cache location - Updated hideSplash method hideSplash method now hides the splash image regardless of an active console is detected or not. This commit is port from openSUSE/kiwi#601 - Fixing wrong spaces - Updated fetchFile method Now it makes sure the splash is hidden before showing any progress dialog. This commit is port from openSUSE/kiwi#601 - Bump version: 8.21.0 ? 8.21.1 - Fixup wicked DNS data validation wicked provides DNS info in DNSSERVERS with a space as separator and not with a ',' as it was the case in dhcpcd - Do not bundle the raw disk if a format is setup Only bundle the compressed version of the .raw disk image if no disk format like qcow2, vmdk, etc... is specified. Fixes #159 - Do not compress disk formats Stay compatible with the former version of kiwi and do not compress disk formats like qcow2, vmdk, etc... It also does not make much sense since the disk formats itself are using a compression algorithm. Fixes #159 - Support yum repository priorities yum normally installs the latest version of a package, regardless of which repository provides it. The yum-plugin-priorities provides a method to prefer a package from a repository with a higher priority. Fixes #153 - Bump version: 8.20.22 ? 8.21.0 - Fix attributes_not_used helper script The script is used to check which parts of the XML schema are not used by the new (kiwi v8) version. The information is helpful to find missing or obsolete attribute handling in v8 vs. v7 - Modified few code lines to match landscape's quality standards - Use tmpfs for write overlay in netboot via nbd/aoe - Added support for multiple `--add-profile` options - Added '--add-profile' option in compat mode This commit fixes #154. With this, the compatiblity mode accepts the `--add-profile` option which was present in previous kiwi versions and that is translated to `--profile` in the current version. - Add set_property_readonly_root for volume manager The custom option root_is_readonly_snapshot is evaluated for the method set_property_readonly_root(). If set and the root filesystem has been installed into a btrfs snapshot the filesystem is turned into read-only mode - Evaluate root_is_readonly_snapshot in disk builder - Added btrfs_root_is_readonly_snapshot attribute The attribute allows to specify if the root filesystem should be set to read-only if it is created as a btrfs snapshot. The option only has an effect if a btrfs snapshot is used as root filesystem. Fixes bnc#1000080 - Bump version: 8.20.21 ? 8.20.22 - Added test for -udf flag for genisoimage/mkisofs - Added forcing UDF filesystem for large images Included -udf flag to force UDF filesystem usage - Fixed secure boot setup for iso media Provide the shim loader and the shim signed grub loader in the required boot path. Normally this task is done by the shim-install tool. However, shim-install does not exist on all distributions and the script does not operate well in CD environments from which we generate live and/or install media. Thus shim-install is used if possible at install time of the bootloader because it requires access to the target block device. In any other case the kiwi fallback code applies - Added support for mkisofs genisoimage and mkisofs tools are slightly different so this commit makes sure all flags are supported in both tools. - Fixed hybrid setup for large ISO images The isohybrid tool uses fseek() to locate the bootloader files. That's unfortunately not 64-bit safe. In case of an ISO image bigger than 4G this leads to 32-bit offset issues. kiwi can workaround this problem by putting the bootloader files near the top of the iso image, which is done by a change in the sortfile of this commit - Added rpm_excludedocs handling for yum rpm supports the --excludepath option. However, yum can not be configured to pass along options to rpm or the python interface it uses. Thus only a warning about excludedocs not being supported by kiwi for yum is issued. Fixes #133 - Added rpm_excludedocs handling for apt Setup the appropriate dpkg options to avoid the installation of manual pages and package documentation if rpm_excludedocs is set in the kiwi XML description. Related to #133 - Make sure netboot code populates kiwi_RootPart For disk based images the file config.partids is written and imported. However, for netboot stations a disk is optional and no partids information exists. In order to provide at least the partition number for the root partition on netboot stations with a disk, the kiwi_RootPart is exported from the provided client configuration file. Fixes bnc#1000194 - Bump version: 8.20.20 ? 8.20.21 - Call grub2-install as chroot operation In addition to the chrooted call make sure all volumes from the volume manager (if used) are mounted at call time - Fixup grub default module list The test module is a required module in any case - Make sure fstab exists in initrd creation system - Umount volumes prior to bootloader installation - Bump version: 8.20.19 ? 8.20.20 - Respect setup of devicepersistency for swap part If a swap boot partition is requested it should be added to the fstab file according to the device persistency setup or its uuid default - Update schema documentation - Bump version: 8.20.18 ? 8.20.19 - Respect setup of devicepersistency for boot part If an extra boot partition is requested it should be added to the fstab file according to the device persistency setup or the default uuid persistency type - Only sync .mod grub2 module files When syncing the grub2 modules to the boot directory only the .mod version of the module needs to be present - Mount boot volumes on grub install If there are volumes below /boot they need to be mounted before grub2-install / shim-install is called in order to make sure all data is available in the volume - Bump version: 8.20.17 ? 8.20.18 - Make sure boot image dump is cleaned up - Refactor DiskBuilder class The DiskBuilder class is able to build a disk its corresponding format and the installation image to install this disk by using the InstallImageBuilder. However all three tasks were handled in a row which lead to the problem that resources like active mount processes were still open when e.g the disk format is created. The race conditions produced here lead to an undefined state of the resulting disk format and/or install image. In order to avoid this the DiskBuilder class has been refactored in a way that each tasks is an atomic operation which is freeing its resources after success - Delete root, boot, efi fstab setup from kiwi boot The kiwi boot code was responsible for setting up the contents of the fstab file on first boot. However the build process now provides an fstab with the generic label or uuid based fstab entries which allows to remove that part from the kiwi boot code - Add root, boot and efi partitions to fstab Make sure the above partitions are added to the generic fstab with their label or uuid at build time - Added BlockID class Class to provide support for retrieving block device metadata - Use BlockID class for block operations - Fixed fstab entries for btrfs subvolumes mount options must be part of the subvol information which itself is also a mount option - Corrected DEVICE_TIMEOUT variable validation Now it uses regex in order to validate the variable is an integer - Bump version: 8.20.16 ? 8.20.17 - Normalize mount path in get_fstab for lvm volumes - Fixed get_fstab parameter order for lvm - Bump version: 8.20.15 ? 8.20.16 - Delete fstab setup for volumes from kiwi boot code For persistent devices like LVM volumes or btrfs sub volumes the fstab setup can be done at build time. Fixes #142 - Custom device timeout variable added This commit patches the issue bnc#992992. Now DEVICE_TIMEOUT variable can be used in order to set the device waiting timeout in watForStorageDevice function. Must be a numeric value expressed in seconds. - Implement get_fstab for btrfs volume management - Fixed btrfs mount_volumes if root is snapshot The provided subvolume name contained the snapshot path which is invalid. In addition nested volumes e.g /var/cache were reduced to /cache which is wrong - Cleanup unit test Use only one instance of context manager for all tests - Create fstab entries for persistent devices Instead of creating the fstab at boot time, those entries which are generic and not depending on an unknown device name can be created as part of the image building process. - Implement get_fstab for LVM volume management - Added get_fstab to volume manager interface The volume manager interface should allow to provide fstab entries for the volumes it manages - Bump version: 8.20.14 ? 8.20.15 - Fixed evaluation of Dialog return value The return code from the Dialog boot code was evaluated after other shell code was executed. Thus the return code from the call in question was lost and misinterpreted - Make sure volumes are mounted prior to install - Fixup invalid character in bash source - Bump version: 8.20.13 ? 8.20.14 - Fixup chroot adaption for caller environment The ZYPP_CONF path is provided as part of the caller environment and not as a zypper caller parameter. However the path adaptions when calls happens chrooted was only done for the commandline arguments but not for the command environment. This patch also adapts the environment, related to Issue #133 - Make ifplugstatus available in boot images Added ifplugd to kiwi oem|netboot images for leap and tumbleweed - Prefer ifplugstatus for link up check Use ifplugstatus if present to check if the network link is up. Fallback is the old ip based method - Fixup theme setup in grub2 config template Only set the theme if the .txt file describing it exists - Fixup yum group install yum groups can contain spaces, thus quoting is required Fixes #138 - Bump version: 8.20.12 ? 8.20.13 - Follow up fix for setupNetworkWicked IP address information from wicked is imported twice. However the plain IPv4 address validation happened only on the first import. Fixes bnc#992989 - Fixed pxe install archive md5 file The md5 sum must be created from the uncompressed version of the disk image - Added missing trigger file for oem pxe install The config.vmxsystem trigger file was missing in the oem install initrd used when deploying a disk image over pxe - Bump version: 8.20.11 ? 8.20.12 - Integrate schema documentation into doc process The schema documentation is auto generated via the schema_parser helper tool. The tox doc target now also generates schema docs Fixes #53 - Schema docs generation helper A simple script to parse the RelaxNG schema that grabs relevant information in order to produce autogenerated documentation from the schema inline comments. - Added handling for rpm-excludedocs for zypper In zypper zypp.conf can be setup to prevent the installation of %doc marked items from rpm packages. The <rpm-excludedocs> section in the kiwi XML description is used to provide this functionality. So far this feature is only implemented for zypper. References #133 - Make sure EFI modules are provided in uefi mode For EFI secure boot (uefi) the grub2 efi modules were not copied to the target directory. shim-install normally does that by invoking grub2-install. However shim-install does not allow to call grub2-install with the required parameters as needed for loop (image) based targets. Thus kiwi calls shim-install but skips grub2-install and takes care to provide the needed EFI modules. - Revert WaitForStorageDevice patch The logic to setup a wait timeout by asking a device property from a device which does not yet exist raises a chicken and egg problem - Fixed message typo (bnc#996255) - travis: Update pypi password Next try to get the automatic deployment on pypi fixed. - Move to tar.gz as sdist target PyPI is planning to support only .tar.gz in the near future. See https://www.python.org/dev/peps/pep-0527. This Fixes #132 - Activate partition using parted instead of sfdisk sfdisk changes their caller semantics incompatible. Therefore we move to a tool which is still stable in the caller options Fixes #129 - Update baseStripRPM Method is a noop and only exists for compatibility kiwi handles the deletion of packages in the core builder code - Bump version: 8.20.10 ? 8.20.11 - Revert "Update doc string for kiwi_compat.py" docopt strings are not allowed to be interrupted by a newline This reverts commit b1b92ed830820530bfd7bdc5256525f3dfc01a4a. - Bump version: 8.20.9 ? 8.20.10 - Use os.linesep Python's os module provides a portable version for the line separator which should be used whenever possible. Fixes #130 - Bump version: 8.20.8 ? 8.20.9 - Fixed custom entries in vmdk machine config Each custom entry must be written in a separate line - Update API documentation Recall sphinx-apidoc and update the generated result markup - Update doc string for kiwi_compat.py Make sphinx happy - travis: Update pypi password Next try to get the automatic deployment on pypi fixed. - Bump version: 8.20.7 ? 8.20.8 - Fixup get_build_type_vmconfig_entries Make sure we can rely on a list return even if no machine section exists at all. - Add evaluation of machine's vmconfig_entry As part of the machine section it is possible to setup a custom entry which is stored in the machine configuration file. The evaluation of such an entry for the vmdk (.vmx) config file was still missing. This Fixes #122 - travis: Next try to fix automatic pypi deployment Also the travis command which added the pypi deployment part formatted the yaml file. - Fixed bootloader configuration custom kernel parameters should be added to GRUB_CMDLINE_LINUX and not GRUB_CMDLINE_LINUX_DEFAULT Fixes bnc#994910 - Use str.format for int to string convertion - Setup tests corrected #124 - Fixes #124 - Rearranged waitForStorageDevice code comments - Added a case statement for transport types - Removed some backquotes in favour of $() - Bump version: 8.20.6 ? 8.20.7 - Make repository an optional element So far one repository was mandatory in the XML description. However, this is not required because all repositories can be specified on the commandline - Added quotes to protect against spaces - Added getDeviceTransportType method The method gets the transport type of the given device. WaitForStorageDevice reacts according to the transport type by having a shorter timeout in case the device is a usb. - WaitForStorageDevice patch The function has been modified in order to distinguish a shorter timeout if the device is a usb. - Bump version: 8.20.5 ? 8.20.6 - Update compat options for create step The --ignore-repos, --set-repo and --add-repo options are allowed to be specified for compatibility reasons if --create is specified in the compat commandline. However, they are not used in the next generation kiwi create step because the repo information is persistently stored after the prepare step has finished, which is not the case for the legacy kiwi version - Support --ignore-repos in compat mode - Added --ignore-repos for build and prepare tasks The option allows to ignore all repos configured in the XML description. This allows to specify a complete set of repositories via the commandline - Bump version: 8.20.4 ? 8.20.5 - Preserve timestamp on grub2-install copy In order to workaround the bug in shim-install which unnecessarily calls grub2-install we replace the binary by a noop before calling shim-install. However all file attributes of the grub2-install binary, timestamp, modes, etc should stay untouched (bnc#993825) - Update documentation Move information about legacy kiwi in its own chapter - Bump version: 8.20.3 ? 8.20.4 - Update documentation Prevent to use non public url references - Bump version: 8.20.2 ? 8.20.3 - Fixup vmdk header update due to the wrong file open mode the result image was truncated on update of the vm tools version - Bump version: 8.20.1 ? 8.20.2 - Update documentation delete broken links to online ssh key blogs - Bump version: 8.20.0 ? 8.20.1 - Binary opened file should receive bytes Avoids TypeError: 'str' does not support the buffer interface for the vmdk header update - Fixed setupNetworkWicked IP address information from wicked dhcp reply consists out of two parts but we are only interested in the plain IPv4 address information at this point. Fixes bnc#992989 - Make sure DHCPCHADDR is upercase Fixes bnc#992988 - Delete obsolete <except> section The <except> section was formerly used as part of the <split> section. kiwi no longer supports static split images in favour of overlay systems based on e.g overlayfs. Fixes #120 - Better logging if Path.which doesn't find the file - Added docstring for KiwiDescriptionConflict - Fixup Command.run if called with raise_on_error set to False - indentation fix - Updated logging message Updated logging formating in a way that landscape does not complain - Updated Command to use Path.which Command.run and Command.call now make use of Path.which in order to test if the command is available or not. Also Path.which has been extended in order to support custom environments and to be able to test file permissions (read. write, execute) - protect systemd-detect-virt Protect systemd-detect-virt from being deleted in the kiwi initrd - Command validation This commit includes a validation in Command.run and Command.call in order to verify the existance of the command before running it. It case it is not found in the specified environment it raises a KiwiCommandNotFound Exception. - Detailed schema validation report This commit adds the execution of a jing process if the validation fails, that way the user has more information about what is actually failing during the validation process. If jing command is not found, it just produces an info message to warn the user and kiwi finalizes as expected. - Workaround Fix for pypi travis deployment Use all_branches: true, as we do only tag with bumpversion for a release this workaround works for us. For reference see https://github.com/travis-ci/travis-ci/issues/1675 - Bump version: 8.19.6 ? 8.20.0 - Fixed suseSetupProduct Avoid shell complaining about binary operator - Fixed baseUpdateSysConfig Check if referenced config file exists - Delete obsolete use of SuSEconfig SuSEconfig was a tool long time ago and does not exist anymore - Delete obsolete sysV init boot code Traces of chkconfig, inittab, etc/init.d are gone now - Fixed suseSetupProduct Fixed shell variable evaluation syntax - Less complex user, group traversal - Simplified example config file - Updated get_users and get_user_groups methods Get_users method has been updated in order to be able to append the groups attribute when a user is defined in multiple <users> sections in the description file. Appart from groups, all other user attributes are ignored if the user was already processed when parsing the description file. Get_users_groups method has been also updated so it returns a list of groups with unique values, keeping the description file order. - Updated xml_state The changes here modify the method get_users in xml_state in order to provide a simple list of users instead of nested lists. Also a new method to get the groups for a given user has been included in xml_state. This is done in order to slim down and facilitate the code in kiwi/system/setup.py. This way users and groups can be handled in more natural way. - Rebuild RNG schema and parser for 6.4 - Auto validate XML descriptions for schema 6.4 - Added schema conversion convert63to64.xsl - Bump kiwi schema version 6.3 -> 6.4 - Fixed 6.2 to 6.3 XSL conversion Deletion of attributes of the same section must be handled in one iteration - Updated the user schema layout Now each user item may or may not have a groups attribute. The groups attribute is a comma separated list of group names. If present the first group name will be the login or primary group, if not present, the underlying toolchain will assign the default login group for that user. - New generated schema and parser - Some corrections needed after rebuilding schema and parser - Update true/false handling of text nodes The latest version of generateDS handles <section>true|false</section> text values in a way that it returns a boolean python type instead of the text string. With this change the kiwi code has to be adapted at the level of writing the shell profile which needs the string value of boolean information - Regenerate data structures Regenerate xml_parse with latest version of generateDS. The call works in the python2.7 tox virtual environment as part of the following make target: $ make kiwi/schema/kiwi.rng - Switch to latest version of generateDS Data Structures are auto generated from the XML schema. So far the development environment has requested an older version of generateDS which will go out of service soon - fixing user schema layout - Fixed typo in boot headers OpenSuSE vs. openSUSE - Fixed typo in translation OpenSUSE vs. openSUSE - Make sure awk is available in oemboot - Explain why bytes type is redefined In python2 bytes is string which is different from the bytes type in python3. The bytes type from the builtins generalizes this type to be bytes always. However the redefinition of the bytes type is marked as Smell in landscape. Thus the code should at least inform why this is done - Use six.Iterator instead of global object builtin The use of six.Iterator as base class for the CommandIterator seems more clear and explicit compared to the global object type overwritten by the builtins import. Fixes Smell reported by landscape - Added kiwi/archive/tar class description - extending kiwi/archive/tar - Fixing gce format build The patch is two fold, first it fixes the name of the raw disk when it is copied as disk.raw. Second it fixes the content list of the tarball to be dynamicly build instead of a static allocation. Reason for this change is that the list of files depends on the XML description whether or not a gce disk tag is configured. Fixes #113 - Fixes #111: Included support for vdi format - Bump version: 8.19.5 ? 8.19.6 - Fixed changelog generator - Don't ask to start recovery in unattended mode If oem-recovery is setup in the XML description along with oem-unattended set to true as well we don't ask for confirmation to run the recovery when the recovery menu entry is selected at boot time - Release automatically on pypi (2nd try) Last try from 142ca22d8e was not working. Update the secure hash and also set explcitly the master branch when looking for tags. - Added integration build test link to doc index - Bump version: 8.19.4 ? 8.19.5 - Don't require an iso creation toolkit - Bump version: 8.19.3 ? 8.19.4 - prefer newer overlayfs mount method mount succeeds in compat mode but this mode should only be used on older overlayfs implementations - Bump version: 8.19.2 ? 8.19.3 - Message commit for bug reference Fixup of VMware disk tag references (bnc#988086) - Prevent duplication of context manager in test - Bump version: 8.19.1 ? 8.19.2 - Complete doc string for Path.which method - Implement Path.which Python provides methods to do this but we can't rely on them to be available in all python versions - Conditionally prefix encoding to vmware disk tag Prior code was always adding the encoding statement to vmware disk tag; in the event it is already present there's no need to add it a second time. See also https://github.com/openSUSE/kiwi/pull/586/commits/af1fed77af862dc44bd4322680... - Remove null padding on the vmware disk tag The block of data read via dd is null padded; adding the tools data after the padding breaks detection of the data. We need to remove the nulls (0x0) so appends can occur adjacent to the block of strings. See also https://github.com/openSUSE/kiwi/pull/586/commits/ee8931c76c17c79d30a128c05c... - Update documentation Cleanup structure of contribution guide - Update documentation Complete documentation about required C libraries which needs to be installed prior to setting up the python virtual development environment - Fixup dependency on genisoimage Only for SLE12 the package requires genisoimage for any other distribution mkisofs is required. The community variant with genisoimage seems to be quite outdated. However, on SLE12 only genisoimage exists. Fixes #106 - Lookup tool name by path lookup - Update import statement parenthesis only needed for multi-line multi-import - Refactor block depth on get_volumes return early if the condition makes it clear that there is nothing more to do in this method - Lookup iso creation tool Instead of strictly using genisoimage allow for using either the community variant or mkisofs as provided by J.Schilling - Refactor reading of volume variables in boot code Use new style profile variables without name limitations Related to #39 - Refactor profile for volume setup Don't use volume names in bash variables. In addition that removes the name limitations we had for volume names Related to #39 - Delete obsolete volume condition checks No need to check for LVSwap or LVComp in volume setup. If at all those volumes are created at boot time. Related to #39 - Refactor use of kiwi_allFreeVolume_ Do not expect the value to come from an exported variable Instead a method to provide the information is implemented Related to #39 - Bump version: 8.19.0 ? 8.19.1 - Fixup cleanup of intermediate config files kiwi uses e.g etc/hosts from the host system for proper name resolution during the build. The temporary variant of that file will be deleted by kiwi at the end of the installation process. However depending on the package manager and the distribution it could happen that the intermediate config file added by kiwi is treated as existing config variant. In case of rpm a .rpmnew file variant of the config file is created and that needs to be handled by kiwi. Therefore this patch adds a private restore method for the .rpmnew case. It might be needed to add other restore methods to deal with this issue depending on how other (non rpm) based package managers handles the situation. Fixes #104 - Bump version: 8.18.9 ? 8.19.0 - Make sure mtab link exists in kiwi initrd On Debian systems the filesystem tools requires the presence of the mtab file, thus we make sure this file exists and links to proc/self/mounts - Refactor use of dialog program in boot code Cleanup the mess, provide only one method to run a dialog Prevent use of subshells for running the dialog program - Fixed use of shutil.copytree The target dir must not exist. However in order to force copy a potentially existing target is deleted before - udev console init requires kbd_mode on Ubuntu keep kbd_mode in initrd - Added oemboot description for ubuntu-xenial Also add kiwi linuxrc/preinit links for vmxboot - Allow alternative location for udev console init yet another name and location for the console init utility - Remove lxc configuration from docker images Docker does not use LXC execdriver anymore. Fixes #40 - Bump version: 8.18.8 ? 8.18.9 - Fix linkcheck in container_builder.rst - Fix linkcheck in container_builder.rst - Bump version: 8.18.7 ? 8.18.8 - Update Documentation Update state of supported distributions - Apply editorial review changes - Apply editorial review changes - Apply editorial review changes - Delete traces of obsolete code - Prevent unconditional deletion of toplevel data The kiwi initrd descriptions calls suseStripInitrd() as part of the images.sh script. This function unconditionally removes toplevel directories like /home. Instead of deleting the data it is better to exclude them when the cpio archive is created - Bump version: 8.18.6 ? 8.18.7 - Added serial console support for isolinux loader Generate a serial line setup for the isolinux.cfg file according to the bootloader_console attribute from the XML description. In addition delete the use of the obsolete vga kernel parameter and work with the MENU RESOLUTION ui configuration parameter instead - Bump version: 8.18.5 ? 8.18.6 - Fixed setup of default install menu entry The attribute installboot allows to specify the default boot menu entry in an install image. It can be set to harddisk, install or failsafe install. The setup of that information in the bootloader configuration was not properly processed - Fix landscape Smells - Update location of build container - Update dice source link - Update Dice project location - Apply editorial review changes - Bump version: 8.18.4 ? 8.18.5 - Fixed building of install image If dracut is requested as initrd_system in combination with building an installiso we have to overrule the initrd_system setup for building the install image. The code to install an image is kiwi's oem install code and unknown to dracut. The process will end up using dracut as initrd in the system image but kiwi's initrd on the install image - Delete kiwi-tools from rhel boot descriptions kiwi-tools is no longer a requirement but an optional package It contains tools like utimer or dcounter which provides nice boot timer or progress dialogs for showing data transfer progress. In the Virtualization:Appliances:CommonBoot repo we provide mandatory and optional packages used by kiwi if they don't exist for the target distribution - Better warning message for root cmdline setup Under certain circumstance the root=UUID=<uuid> parameter must be setup in the cmdline of the image. If the required uuid value is not provided a warning message is shown to the user. This commit makes the warning message more meaningful - Extend unit tests for boot image setup Expect kiwi_initrdname to be set in the profile of the boot image root system - Call plymouth only when installed - Add delete method for profile variables - Added article about self contained building The article describes how to make use of the dice project to control and maintain image build processes in a contained environment - Fix grub bootloader template Keep gfxpayload - Update bootloader console setup in boot code Use the variable kiwi_bootloader_console which represents the setup of the bootloader console from the XML description and setup the GRUB_TERMINAL configuration option to allow grub2-mkconfig to pick up the value. If no console setup exists in the XML description, gfxterm is used by default - Make bootloader_console availabe in profile The variable kiwi_bootloader_console is exposed into the profile environment - Delete obsolete code All traces of lilo and elilo are gone now - Fixed grub2 bootloader config template Load fonts only when they exist, do not duplicate font setup in template - Fixed bootloader theme check The check for the theme was not always called, but this is required since the theme check will reset the bootloader console if no graphics theme could be found - Bump version: 8.18.3 ? 8.18.4 - Apply back openSUSE 13.2 support Until Leap42.2 is not yet released we should keep the support for 13.2 - Added support for setting the bootloader console Some bootloader e.g grub supports graphics, text and also serial consoles to hand over the output of the bootloader menu. With this patch we allow to customize the console used by the bootloader. So far only grub makes use of the new attribute <type ... bootloader_console="serial|console|gfxterm"/> This references Trello: https://trello.com/c/q9EhNKKV/155-support-for-grub2-serial-console - Bump version: 8.18.2 ? 8.18.3 - Fixed typo in message text - Fixed vmxboot/ubuntu-xenial boot description dracut should be installed to support initrd_system="dracut" - Update iso|vmxboot debian boot descriptions - Fixup ldd check for unused libraries - Update vmxboot/ubuntu-xenial boot description Complete description to be usable with kiwi initrd boot code too - Added baseCreateCommonKernelFile The stripKernel functions return early if the dracut initrd system is requested. However it is required in any case to lookup the kernel and provide a common name kiwi expects to be present - Set logger mode to append - Bump version: 8.18.1 ? 8.18.2 - Add distro flag match for Leap42.2 - Bump version: 8.18.0 ? 8.18.1 - Preserve zypper package cache zypper deletes the package cache if a repo is removed. For the purpose of image building this should not happen - Pass initrd_system to profile The common functions baseStripInitrd and baseStripKernel need to be skipped if the initrd system is set to dracut. They read that information from the exported kiwi_initrd_system profile environment variable - Don't delete dracut from boot image environment If the dracut initrd system is requested we need dracut to stay in the environment from which it is called - Fixup copy_boot_delete_packages if no <packages type="delete"/> section exists in the target the code does not add the packages to become deleted. This patch changes the behavior in a way that a new section is created - Add isoboot support for Ubuntu system Next step to allow creation of Debian based live systems Related to Issue #37 - Added suse-leap42.2 descriptions Obsolete suse-13.2 - Update hyper links in project README - Rename kiwi boot code files Maintain them as common code base for all distributions During the years of development it has turned out that differences in the boot process between the distros can be handled in one code base. There is no need to maintain a basically identical copy for the different distributions - Style fixes: E275 missing whitespace after keyword - Delete obsolete C tools - Prevent use of setctsid setctsid is a suse extension to start a program on a new controlling terminal. While it is very useful it does not exist on other distributions which causes a problem in kiwi's common initrd code. This patch replaces the use of setctsid with setsid and sulogin - Open log file in mode 'w' and in utf-8 locale - Delete obsolete mkinitrd code This version of kiwi supports only distros using dracut - Delete obsolete sysV init console setup code - Make use of utimer in kiwi initrd optional - Bump version: 8.17.0 ? 8.18.0 - Adapt to common python style Private methods should start with _f() not __f() - Prevent temporary files to be synced to image The package manager instances created temporary package manager configuration files. The instance destructor and thus the cleanup of the instance should be called prior to the sync of the root filesystem data in order to prevent temporary configuration files to be present in the image - Grammar fixes for doc strings - Syntax change for Importing one module - Update test_load_schema_from_xml_content test Read schemaversion from RelaxNG instead of using a fixed value - debootstrap errors deserve their own exception - Avoid glob imports This could start a series of further changes in the unit test as we have allowed for glob imports there. So treat this one as a start - Add documentation for Exceptions - Support Tox with interactively positional arguments Use posargs for py.test, see http://tox.readthedocs.io/en/latest/example/general.html - Format message with named format parameters - Avoid re-assigning variable - Fixed unit test for profile variables - Handle XML per content or file more explicit - Differentiate between Python 2.7 and 3 in doc - State Python 2.7 in Trove category of setup.py - Refactor RootInit class Instead of calling multiple subprocesses make use of the os capabilities for directories, symlinks and device nodes - Fixed use of shutil.copytree - Update ubuntu xenial vmxboot description Make sure all drivers exists when dracut is called to allow inclusion of potentially all needed driver modules - Fix Lithuanian translation - Fix Ukrainian translation - Update grub2 config tempplate Load font collection - Refactor use of os.walk result - Integrate python improvement suggestions - Integrate python improvement suggestions - don't intermingle suse namespace with debian - Deleted libxslt-tools from spec template - Fixup indentation of travis setup - Fixed license setup in spec file - Remove unused import (F401) and an extra line (W391) - Fix tests for Python3 - Fix tests for the XPath processing - Allow XMLDescription to be loaded also from the XML string - Release automatically on pypi for new tags When a new tag gets created, automatically release it on pypi so we don't have todo it manually. - Reimplement XSLT processing using LXML instead of calling 3rd party tools - Added tox 2.7 target for travis - Fixed creation of password hashes kiwi uses the openssl command for this purpose but did not strip the newline at the end of the hash output - Apply python 2.x compatibility decorators - Added tox target for python 2.7 - python 2.x compatibility added new requirements six and future modules are needed for the compat layer - Fixup grub2 theme setup We can't expect that specific fonts to exist for all theme packages in all distributions. The code here should rely only on theme.txt In addition we check if any theme or font related data is found in the legacy grub location boot/grub which imho should not be used for grub2 - Update ubuntu-xenial boot description No need for a drivers setup here, vmxboot is only the container to run dracut - Bring byte strings to Py2 compatibility in ISO - Make iterators Py2 comptible - Added boot image description vmxboot/ubuntu-xenial - Replace 'builtins.open' with patch_open decorator - Add mock_open and patch_open helpers - Remove double requirement - Use ConfigParser from six - Move urlparse to the Six package - Remove duplicate key - Add print function for Python 2 - Add missing init file - Add Python2 compatibilitiy requirements - debootstrap installs apt-get Don't add the specified package manager to the list of bootstrap packages for apt-get, because that is covered by debootstrap - Allow additional bootstrap packages for apt-get - Don't run apt-get with mounted /dev - Fixed force-yes option for apt-get - Allow unattended installation of debian packages - Added PackageManagerApt class Support installation/removal of deb packages Related to #37 - Support for apt-get package manager Starting to support Debian based distributions also means to support the deb repository types. This commit adds the RepositoryApt class to handle deb repositories for image building. Related to #37 - Bump version: 8.16.5 ? 8.17.0 - Added pypi make target for upload Please note an appropirate ~/.pypirc file and registered user is required to upload - switch_root / pivot_root quiet call - Increase default boot partition size to be 300M - Delete obsolete isFSTypeReadOnly from boot code The check was used to detect if a read-only root filesystem is in use, which can be done by checking if kiwi_ROPart is defined - Refactor use of global FSTYPE variable The kiwi boot code populates a global FSTYPE variable which was used at several places. However there was no clarity for which storage device this filesystem value was detected for. Thus the entire handling has been refactored and there is no global FSTYPE variable anymore - Add attribute <type ... overlayroot=true|false/> Allow to activate the overlay root setup for disk images - Bump version: 8.16.4 ? 8.16.5 - Update development status Status :: 5 - Production/Stable - Don't search for kiwicompat in fixed absolute path Allow alternative locations from search PATH - Integrate git attribute setup to sdist command - Add C tools binaries to git ignore list - Fixed command class name for distutils The overwritten build and install commands should not change their name in order to stay consistent on e.g --help - Fixed kiwicompat binary lookup The test for os.path.exists on just the binary name without a path specification always fails if not present in current directory. Let execvp do the job for us - Fixed entry point for kiwicompat - Use path lookup for kiwi-ng in kiwi_compat Instead of a fixed path use the PATH lookup. This would allow to install kiwi at alternative places as long as the path is part of the shell search PATH - Create completion data at build time - Move all build and install tasks to setup.py In an effort to distribute kiwi on pypi it should not be required to call make targets for a complete installation. Therefore the compilation of the C tools as well as the installation of the man pages and the bash completion has been added to setup.py. The spec file to build an rpm package has been changed to use setup.py exclusively - Delete obsolete .releasetags from MANIFEST.in This avoids a warning on setup.py build - Fixed warnings in C written tools - Bump version: 8.16.3 ? 8.16.4 - Fixed spec file update-alternatives is used, thus needs to be required - Support for overlay disk images overlay disk images uses a readonly root partition and are overlayed using overlayfs to hook in a cow based read-write space. This commit implements the basic disk setup. Implementation to boot such a disk in the kiwi boot code is still missing, as well as the investigation if dracut is able to boot such a disk too. References #65 - Bump version: 8.16.2 ? 8.16.3 - Fixed completion generator In addition cleanup the main docopt definition - Fixed completion conflict with legacy kiwi - Bump version: 8.16.1 ? 8.16.2 - Fixed spec file rpmlintrc file must be mentioned as source - Bump version: 8.16.0 ? 8.16.1 - Update quickstart documentation kiwi can also be used as a module in other python3 projects. An example how to do that has been added to the quickstart - Bump version: 8.15.5 ? 8.16.0 - Added support for grub2 console switch entry An additional hidden entry allows the user to switch between the graphics and the serial console by pressing the 't' key. The kiwi grub2 template adds this switch if the terminal mode is set to graphics. The additional entries are only effective of the grub_platform is set to efi. Fixes #80 - Fixed add_repo for zypper repositories Always run zypper addrepo in order to make any change in the repository definition to become effective - Fixed add_repo for yum repositories Always create the repo file from scratch in order to make any change in the repository definition to become effective - Bump version: 8.15.4 ? 8.15.5 - Split quickstart into two parts Split the quickstart information into a development and a user part - Bump version: 8.15.3 ? 8.15.4 - Added readonly check for persistent data When creating a partition for persistent data, check if the device class has the readonly flag set before trying to write anything there. Fixes #74 - Bump version: 8.15.2 ? 8.15.3 - Fixed removal of a package in XMLState If a <package> was unwanted in a <packages> section the former code sets the name of the package to a python None type. This causes the rest of the code to operate on potential None types which causes unexpected TypeError's under certain conditions. Instead of leaving an inconsistent package section the entire package section reference should be deleted from the packages instance holding it. Fixes #76 - Exit code for --version call should be zero - Bump version: 8.15.1 ? 8.15.2 - Set config.sh and images.sh scripts as optional - Bump version: 8.15.0 ? 8.15.1 - Fixed landscape smell Unused variable 'key' - Fixed landscape smell Redefining built-in 'help' - Fixed landscape error Dangerous default value [] as argument - Refactor import_description split code into more readable parts - Make sure mandatory vmdk settings exists Even without a machine section configuration the minimum required information must be presented to the settings template - Added store_to_result for vmdk format The vmdk format provides more than the standard result store. for vmdk we need to store the vmdk and the settings file - Reduce amount of mountpoint check calls - Refactor subformat classes Add a generic store_to_result method which allows to store the format result files into an instance of Result. This allows to customize result handling per format when needed - Create VMware settings file for vmdk subformat In order to run or convert the vmdk with VMware products a settings file is required. - Added dropped features information for lxc - Bump version: 8.14.2 ? 8.15.0 - Fixed script/archive lookup If a script or archive is specified with an absolute path in the image description, kiwi should not assume this path to exist below the image description directory but just take the absolute path as it is. Fixes #70 - Load logging at runtime for MountManager - Runtime checker message fixes Start with an empty line to improve readability - Integrate runtime checks for tasks Call appropriate runtime checks for prepare, create and build tasks. Fixes #20 - Create instance of runtime_checker for any CliTask - Fixed building documentation - Reuse env in tox.ini Reuse virtualenv directory with envdir. Should speed up things a bit. Taken from https://blog.ionelmc.ro/2015/04/14/tox-tricks-and-patterns/#partial-environm... https://blog.ionelmc.ro/2015/04/14/tox-tricks-and-patterns/#environment-reus... - Use more compact config for tox.ini Rewrite basepython to make it more compact Taken from https://blog.ionelmc.ro/2015/04/14/tox-tricks-and-patterns/#compact-configur... - Add requirements section in Quick Start * Describe what KIWI needs to run, further requirements, and for development * Introduce 'ghkiwi' as prefix in "extlinks" to shorten external links and to make linking to KIWI's GitHub repository more intuitive and consistent. For example, the string :ghkiwi:`tox.ini` is replaced with https://github.com/SUSE/kiwi/blob/master/tox.ini - Added check_target_directory_not_in_shared_cache Runtime checker method to check if the target directory was set to - or below the shared cache directory - Bump version: 8.14.1 ? 8.14.2 - Move creation of mountpoint dir to setup method The volume management classes should create the temporary mountpoint directory when it is needed and not when an instance of the class is created - Cleanup use of temporary directories All mkdtemp created directories are created with the 'kiwi_' prefix. In addition all code parts which leaves tmpdirs in the system after kiwi is done were fixed - Bump version: 8.14.0 ? 8.14.1 - Added python3-xattr dependency - Added xattr checker for DataSync class The method target_supports_extended_attributes() checks if the sync target directory supports extended filesystem attributes. The method is called on sync_data() and will remove the -X / -A options if provided. A warning message is issued to the caller if the rsync option list has changed because of the underlaying filesystem limitations - Fixed subformat creation The option -c makes only sense for the qcow2 subformat, whereas on all other format it cause qemu-img convert to fail - Use iterator protocol instead of StopIteration CommandIterator contains already the __iter__ magic method. We don't need to manually use while and next() in order to advance to the next element. => Code refactored to "for line in self.command" which does exactly the same job, but is better readable. Plus we avoid the nasty try...except block. - Remove kiwi.logger.init() function The init function is mostly unneccessary and can be directly created in the kiwi.logger module. - Remove useless __init__.py - Fixup usage messages - Bump version: 8.13.4 ? 8.14.0 - Added support for custom rootfs label A new attribute <type ... rootfs_label="name"/> has been added This Fixes #66 - Update grub2 bootloader template menuentries Mark all menuentries as --unrestricted. Fixes #64 - Bump version: 8.13.3 ? 8.13.4 - Fixed shared local repository mounts - Bump version: 8.13.2 ? 8.13.3 - Added evaluation of imageincluded repositories repositories marked as imageinclude needs to be added permanently to the image. Fixes #56 - Make xz the default compressor for squashfs When creating squashfs compressed files use xz as compressor if not other compressor is specified. Fixes #63 - Added --add|delete package for prepare command Allow additional packages to be installed/deleted when calling system prepare. Fixes #62 - Alpha sort option documentation Alpha sort options in usage and man pages - Added --add|delete package for build command Allow additional packages to be installed/deleted when calling system build. Related to Issue #62 - Fixed completion generator complete for kiwi and kiwi-ng - Prevent double render on usage - Add check_image_include_repos_http_resolvable Runtime checker method to check if repositories marked with the imageinclude attribute are using a publicly available protocol - Add shared cache location to Defaults - Bump version: 8.13.1 ? 8.13.2 - Allow alternative if isolinux-config failed If the setup of the base directory failed because isolinux-config was not able to identify the isolinux.bin signature, we create a compat /isolinux directory and hardlink all loader files - Fixed typo in message Fix condition to show the grub module info message - Use program output for synopsis in documentation - Provide custom usage message Instead of the docopt way to show the usage information we provide a kiwi specific usage information. The usage data now always consists of: 1. the generic call kiwi [global options] service <command> [<args>] 2. the command specific usage defined by the docopt string short form by default, long form with -h | --help 3. the global options - Fixed loadSELinuxPolicy enforce policy is located in /sys/fs/selinux - No authconfig on RHEL >= 7 - Activate SELinux for RHEL systems Added new boot method loadSELinuxPolicy and call it as part of the rhel-preinit phase. This put SELinux in enforcing mode also from the kiwi initrd - Handle fsmountoptions attribute in all builders - Refactor custom_args handling for VolumeManager class Allow for two elements fs_create_options and fs_mount_options in a VolumeManager instance and pass along the information to the FileSystem and MountManager instances - Refactor custom_args handling for FileSystem class Any FileSystem class can receive a custom_args dictionary which by defaults ensures the presence of an empty list for create_options and mount_options. The create_options are used in the subclasses when the filesystem is being created and the mount_options are passed to the MountManager when the filesystem is mounted for e.g data_sync - Make kiwicompat understand --version | -v option - Small spelling corrections Apply title style: * package -> Package * module -> Module * Use backticks for kiwi.* modules to avoid spelling problems - Update spell-checking wordlist GitHub, JeOS, KIWI, LXC, squashfs, stderr, stdin, stdout, Submodules, Subpackages, zypper - Add "spell" rule in Makefile Also included in the help target - Enable Acronyms, importable modules, and builtins - First draft to "beautify" HTML appearance * Add GitHub button and "Fork me" widgets * Add Travis button * Remove obsolete code - Bump version: 8.13.0 ? 8.13.1 - Added support for SELinux file security contexts Systems using SELinux require the filesystem data to be labeled according to a security context configuration. kiwi now checks for the presence of /etc/selinux/targeted/contexts/files/file_contexts and labels accordingly if it exists. This Fixes #52 - Make grub2 installation path lookup dynamic Not all linux systems installs grub2 below /usr/lib/grub2 For example RHEL7 packages it below /usr/lib/grub. Therefore kiwi needs to be flexible with this path - Used :returncode: for sphinxcontrib-programoutput Fix a warning when calling "kiwi-ng". As the script returns 1, it is considered to have failed by the program-output directive. The returncode line fixes that. See more info here: https://pythonhosted.org/sphinxcontrib-programoutput/#error-handling - Integrate version string from placeholder Use |version| placeholder, no bumpversion etc. is needed. Actually, it's taken from conf.py - Added RuntimeChecker class An instance of RuntimeChecker allows to semantically check for error conditions according to the provided image description and build options. Related to #20 - Spell checking doc and extended word list - Add filesystem requires in kiwi-boot-requires In order to have all filesystem creation tools available when building in the buildservice we need to require them in kiwi-boot-requires - Bump version: 8.12.0 ? 8.13.0 - Set ident export-subst git attribute on version.py - Bump version: 8.11.0 ? 8.12.0 - Fixed documentation link references Use redirected target and fix broken targets according to link check on make build - Fixed typo in documentation Missing question mark at end of sentence - Bump version: 8.10.1 ? 8.11.0 - Fixed typo - Added Legacy KIWI vs. Next Generation chapter - md -> rst, radically shortend README - More substantial changes of the doc * Overall: try to be more consistent * index.rst * Move "Supported Distributions" and "Dropped Features" sections * Quick Start: * Add abstract * Add note about automatic link creation * Move "example appliance description" sections and subsections further down * Streamlined "Contributing" section * Corrected titles and distinguish more between descriptive and procedural - Remove useless substitutions (placeholders) - Add KIWI logo - Move Motivation section from quickstart to index - Correct heading and remove build status - Add QuickStart Guide and improve documentation * Added Quick Start Guide, taken from README.md * Improve index/main file: * Shortend main entry page * Make more headings * Add feature highlights to draw attention * Add sidebar with important KIWI links * Use ordered list of KIWI concept (prep and creation step) - Add package manager requirements in spec file - Update README - Update README - Update README - Move program name from kiwi-py3 to kiwi-ng - Added genisoimage requirement to kiwi spec file On SLE12 we only have genisoimage, on Leap and Tumbleweed we have both genisoimage and mkisofs. For the moment both toolkits produces working iso images with kiwi, thus I chose the save default with genisoimage - Be more flexible for isoinfo lookup isoinfo can either be provided by the community package in /usr/lib/genisoimage/isoinfo or by the mkisofs package from J. Schilling in /usr/bin/isoinfo. kiwi should be smart enough to lookup which tool is installed. /usr/bin/isoinfo will be preferred - Update README Added link to documentation - Try with latest version of travis-sphinx - ghp-import required for travis-sphinx deploy - Make sure enchant library is present for travis - Update tox setup Update TOXENV targets - Move travis-sphinx build tox target to script section - Use tox target for travis-sphinx - Put travis-sphinx build into script section - Make travis-sphinx deploy work It's required to call travis-sphinx build in order to be able to run the deploy command - Fixed documentation linkcheck results - Make sure shared mount directories exists Create shared directory path on the host _and_ in the new root directory to make sure the bind mount works - Update documentation entry page - Use travis-sphinx to deploy doc to github https://suse.github.io/kiwi - Fixed package requirements libxslt-tools provides required xsltproc - Update README for style and markup - Fixed README, wrong markup - Update README Add information how to build with dice - Add part_msdos module for self build EFI image - Update tox.ini Documentation building requires sphinx_rtd_theme and sphinxcontrib-programoutput - Update volume_manager inline API documentation References #49 - Update utils inline API documentation References #49 - Update tasks inline API documentation References #49 - Complete system inline API documentation References #49 - Use Path.wipe instead of directly calling rm - Update system inline API documentation References #49 - Update storage inline API documentation References #49 - Fixed typo - Cleanup use of partition id maps For the partition setup the Disk class uses dictionaries to map the partition name to the partition number. However there are public partition names such as 'kiwi_BootPart' and kiwi internal partition names such as 'boot'. The code should make it more clear which mapping table is used - Update repository inline API documentation References #49 - Update partitioner inline API documentation References #49 - Complete bootloader inline API documentation References #49 - Update README Add chapter about signing commits - Update README - Update README - Update package_manager inline API documentation References #49 - Update filesystem inline API documentation References #49 - Update container inline API documentation References #49 - Update builder inline API documentation References #49 - Update bootloader/template inline API documentation References #49 - Complete bootloader install interface - Update bootloader/install inline API documentation References #49 - Move get_failsafe_kernel_options to Defaults - Update bootloader/config inline API documentation References #49 - Update boot/image inline API documentation References #49 - Update archive inline API documentation References #49 - Delete traces of zfs support - Update inline API documentation References #49 - Update inline API documentation - Update inline API documentation - Update inline API documentation - Update inline API documentation - Ignore auto generated code for API docs - Update inline API documentation - Update api documentation setup - package kiwi-pxeboot must not be noarch We want to specify for which arch we provide it. Thus it's not allowed to specify it as noarch even though it provides only noarch data - Create Initial autodoc structure Called 'sphinx-apidoc -o source/api ../kiwi' - Fixup docstring for kiwi/command.py - Move manual page documentation in subdirectory Separate api documentation from manual pages - Update virtualenv development setup make sure we can build the docu in the development environment - Add docstrings for Cli class References Issue #49 - Fixed ppc setup of etc/default/grub_installdevice On power grub must be installed into the Prep partition into the master boot record of the disk - Add Python 3.5 to be consistent with Travis - Fixed logger unit test - Make color output an option By default no color output is used - Added missing kiwi-packagemanager provides The buildservice looks up for a package manager capability - Fixed spec file syslinux is not a requirement for the base package - Check for derived description path in prepare too - Refactor SystemSetup class the information about the description_dir is part of the provided xml_state instance. There is no need to pass that information along twice - Fixed use of derived_description_dir Only in import_description we need to check for both locations - Make sure import_description preserves archives - Refactor InstallBootLoaderGrub2 constructor architecture dependant device setup belongs to the install method where it is actually needed. That prevents the construction of the instance to be architecture specific - Make list of efi grub modules arch dependant - Revert "Delete efi_uga module from list" This reverts commit 191d423eb571d3cc08f34b5e4ef15eb6296a6563. - Delete efi_uga module from list - add multiboot grub module only on demand multiboot is only needed for self build grub images in Xen guest mode - Don't raise if kversion exits with error In this case a default value applies - Activate partitioner support for arm - Add optional derived_from param to XMLDescription An instance of XMLDescription can now optionally become constructed with a path to an image description this instance was derived from. This is currently used for building the kiwi boot image to tell the boot image XML description instance from which system image instance it was derived from - Evaluate default video mode for iso images - Added custom profile for arm/oemboot/suse-tumbleweed - Update firmware types for arm architectures Add efi and uefi as allowed types, complete architecture name list set efi as default firmware for arm - Added pre/post hooks for bootloader setup/install preInstallBootLoader, postInstallBootLoader preSetupBootLoader, postSetupBootLoader - Fixed architecture dependant tests - Added support for virtual boot partition on arm Triggered by the firmware="vboot" setup an EFI setup plus a raw partition without filesystem is created as first partition. The size of the partition can be controlled by the vbootsize attribute. The vboot feature is used by the arm architecture to provide a space in the partition table for custom code as required by e.g the chromebook. The final customization of the vboot space is board specific and can't be implemented in a generic way in kiwi. For finalizing the vboot space the script hooks editbootconfig and editbootinstall can be used This is related to Issue #17 - Rename partition id kiwi_JumpPart to kiwi_EfiPart This makes it explicit for what purpose the partition is really used. EFI is not configured the same for all architectures but what is consistent is that on this partition an efi image is located to become loaded by some firmware - Activate boot partition only for msdos tables - have tar preserve all xattrs By default tar will only preserve a subset of the capabilities with --xattrs. Adding --xattrs-include=* should preserve all capabilities (e.g. user.*, security.capability etc.). - Preserve hybrid GPT status on boot Added createHybridGPT method and setup the hybrid GPT/MBR table if requested by the XML configuration. In addition move the partition activation call also into the partition table finalize method. This is related to Issue #17 - Refactor partition table setup code Added two methods preparePartitionTable and finalizePartitionTable which are used to prepare the partition table to allow resizing and to finalize for partition flags after resizing. This replaces the updatePartitionTable method - Delete obsolete GPT fixup code Related to bnc#825221 code was added to recreate the disk with a new GPT label. The reason was that parted created a gpt_sync_mbr partition table when kiwi repartitioned the disk to use the full geometry. This was an unwanted behavior by parted and causes the additional code in kiwi. The current parted version behaves correctly and thus makes this additional code obsolete - Added support for hybrid GPT Embedding an MBR into a GPT is required for a collection of boards, e.g arm rapberry PI. The kiwi configuration provides a new attribute called <type ... gpt_hybrid_mbr="true|false" which allows to control if the GPT should be hybrid or not. On build procedures which do not create a GPT the attribute has no effect. This references Issue #17 - Update all XML descriptions to schema v6.3 - Added make valid target to Makefile make valid applies the latest XSLT processing to the boot and test image descriptions - Added XSL stylesheet convert62to63.xsl auto convert from schema v6.2 to v6.3 - Update schema to version 6.3 - Deleted obsolete split section - Deleted zfsoptions, fsreadwrite and fsreadonly attributes - Updated allowed values for bootloader and filesystems - Delete obsolete support for syslinux(extlinux) grub2 or the architecture specific loader requirement is supported but the alternative x86 loaders syslinux/extlinux were not really used - Delete obsolete support for uboot arm boot is using grub2 efi images loaded by a firmware. The firmware could be uboot but due to the non generic way to setup the board that it loads the firmware all of these tasks are handled by custom scripts called via the kiwi editbootconfig / editbootinstall script hooks. Therefore kiwi itself does not have to setup or install uboot - Delete obsolete support for yaboot grub2 is used for ppc64 platforms, so far no older ppc platform is supported - Delete obsolete kernelCheck method - Delete obsolete support for legacy grub - Delete obsolete support for split(combined) image - Delete obsolete support for reiserfs - Delete support for ZFS filesystem btrfs is the way to go these days and zfs still has some proprietary bits in it - Avoid the copy of the kiwi initrd to /run the kiwi initrd copies itself to /run/initramfs in order to have a way to jump into the initrd system from the later system. However the kiwi initrd is unpacked pretty big and exists also only for the very first boot. - Execute haveged in udevStart if fips is enabled This ensure there is at least a source of entropy for /dev/random when the fips mode is enabled. Without it, VMware virtual machines hang at boot (bnc#964204) - Fixed use of dracut initrd system for arm platform - Added EFI images name for 32bit arm architectures - Refactor data subpackage Move from data to utils, data is generally considered as text data and not code - Fixed 32bit x86 builds Put it all under the ix86 namespace - Refactor grub2 EFI support EFI support was target specific to the x86_64 architecture This commit changes the structure to allow more architectures supporting EFI. Thus the arm64 EFI support has been added as a plus - Add {toxinidir} variable for check target - Delete nose reference from virtualenv setup - Prevent file duplicate badness in spec file - Revert "Added pv kernel profile" There is no kernel-pv This reverts commit f0c37709e941e18a1f9b963811a85bd772ee96ac. - Move from nose to pytest nose is no longer maintained, thus we have to move to another testing system. This commit updates the tox setup and all tests to use pytest instead of nose. - Fixed boot mount path at grub2 install - Revert "Revert "Call shim-install with --removable"" Try again using --removable for shim-install This reverts commit e3d7d0239d58e901e7d61e215317b93cf0ee1bfb. - Fixed normalizing paths between host and image - Revert "Call shim-install with --removable" With --removable shim-install does not work for image building This reverts commit d03baa9ee1d0ff44c76afadfc388791b1c5d29fa. - Added pv kernel profile - Add handling for OPAL firmware setup on ppc64 This adds a capability of creating an image for Bare metal POWER platform, where firmware parses grub2.cfg and simply kexecs into an image kernel - Refactor FirmWare class provide a default firmware for each supported architecture Avoid special sauce in the FirmWare constructor - Adding opal firmware type for ppc64 architectures - First draft of issue#43 Add templates for contributing, issue, and pull requests - Call shim-install with --removable The --removable is to prevent shim-install from writing host's uefi boot entry by pretending itself as removable disk - Delete obsolete shim setup code from kiwi Due to the use of shim-install the code in kiwi to setup for secure boot is no longer needed - Use shim-install to setup EFI secure boot - Fixed completion generator Some global options were missing - Update README Fixed pyvenv call to use python3 - Update README style fixes - Update README Fixed url to packages on the buildservice - Update README Be more clear about semantic versioning as documented here: http://semver.org/ - Continue Refactor into subpackage Move container_setup from toplevel into container.setup - Fixed completion generator The generated completion code was confused by the -py3 in the program name if used with kiwi-py3 - Continue Refactor into subpackage Move task classes into tasks namespace - Move storage and subformat tests to match namespace - Move builder test cases to match namespace - Continue Refactor into subpackage Move DataSync, Checksum and Compress into the data namespace - Continue Refactor into subpackage Move Kernel class to system namespace - Package new system namespace - Continue Refactor into subpackage system install, update, size, users, result should have their own namespace - Consolidate all rsync calls into DataSync class - Release mount after data sync for volume managers - Fixed LVM volume setup for oem image type For the oem image type the requested volume sizes are applied on first boot of the appliance. Therefore inside of the image the volumes only needs to be created with their minimum required size - Refactor use of kiwi_LVM_ profile variables Reduce code duplication and encapsulate the reading of the data from the profile into a readVolumeSetup function. This is related to Issue #39 - Preserve extended attributes in tar archives tar doesn't preserve extended attributes by default, causing Docker images to not have any correct set-capabilities bits set on binaries such as ping. This is fixed by adding the --xattrs flag to the tar command - Sort output from helper/kiwi-boot-packages - Fixed gce disk format The order of the files in the tarball is important. The first entry must be the manifest.json followed by disk.raw. In addition the style of the manifest.json has been adapted too. A space after colon seems to be required for gce to accept the data - Fixed kernel names for dracut initrd system If dracut is used as initrd system we should not use the kiwi one shot names linux.vmx, initrd.vmx but stick with the official naming convention for kernel and initrd which is kernel-<version>, initrd-<version> - Skip local repos if they don't exist Instead of raising an exception if a local repository does not exist, we will continue with a warning message. This is needed for a flawless integration with the buildservice. Inside of a buildservice environment only those repos are setup from which packages were taken. Thus it can happen that a configured repository does not exist in the buildservice build environment if the resolver would not take any package from this repository. kiwi should not fail to build such an image - Avoid lvcreate to ask for wiping swap signature When kiwi creates the logical volume for the swap space and there is already a swap signature at the place on disk, lvm stops and asks what to do with it. This should be generally avoided at that stage in the boot process Fixes (bnc#968601) - Calculate checksum in chunks - Don't prevent an oem image from a custom disk size An oem disk ist a self expandable disk and thus it normally doesn't make sense to specify a disk size for it. However there are filesystems like btrfs which are very hard to precalculate a minimum required disk space for X bytes of data. In this situation a user should have the opportunity to specify a size - Don't call dracut in background from kiwi initrd This was useful to speedup the boot but opens a potential race condition if a reboot happens while dracut is still processing. With the last extension to use dracut as initrd system people now have the choice what fits their needs better and this allows us to revert the background call - Added support for using dracut initrd As of today only the kiwi initrd could be used with an image build. This commit adds a new initrd_system attribute and allows to select between kiwi and dracut as initrd system. Please note the dracut initrd does not support all features of the kiwi initrd. This fixes #25 - Add a feature drop list to the README - update MANIFEST.in due to structure changes - Update README Use the real executable name for the documentation - Continue Refactor into subpackage storage operations should have their own namespace - Continue Refactor into subpackage container and container_setup should have their own namespace - Continue Refactor into subpackage disk namespace init is not a factory, thus the Disk class should have its own namespace. We choose disk.storage - Continue Refactor into subpackage rename dformat to subformat - Continue Refactor into subpackage The builder classes should have their own namespace - Fixed update alternative setup for kiwi completion kiwi itself is provided as update alternative for kiwi-py3 Thus the completion should be based on kiwi-py3 - Refactor into subpackage to fix #23 Codecoverage are 100% and tests are green Changes: * Refactor archive_*.py -> archive subpackage * Refactor partitioner_*.py -> partitioner subpackage * Refactor package_manager_*.py -> package_manager/ subpackage * Refactor bootloader_config*.py -> bootloader/config/ subpackage * Refactor bootloader_template*.py -> bootloader/template/ subpackage * Refactor bootloader_install*.py -> bootloader/install/ subpackage * Refactor repository*.py -> repository/ subpackage * Refactor filesystem*.py -> filesystem/ subpackage * Refactor dist_*.py -> dist/dformat subpackage The name `dformat` as package name is needed to avoid any name conflicts with the built-in function `format`. * Refactor volume_manager*.py -> volume_manager/ subpackage * Refactor boot_image*.py -> boot/image/ subpackage - Remove unecessary Travis requirements - Fix check target Didn't have a basepython line, fixed strange tox error - Enhanced Contributing, add new Developing section * Create a procedure in section Contributing * Add new Developing section to describe how to use tox - Fixed device map for VolumeManagerBtrfs The return value from get_device must be a map containing an instance of a DeviceProvider, not only the DeviceProvider - Refactor use of mount/umount calls Provide a MountManager class and handle all mount/umount calls in instances of MountManager - Don't write grub.cfg to EFI directory Originally the file was written there as reference, but nothing will ever update that file if the real grub configuration changes. Thus it doesn't make sense to provide this information (bnc#968270) - Add support for POWER architecture Implements requirements for the partition and bootloader setup in order to build images for ppc64 architectures. Fixes #18 - Refactor grub2 bootloader installation Make use of grub2-install to install the bootloader - Changed debug log in case of failed command Also log the stdout data from a failed command. So far we expected error data on stderr but there are also commands which print error messages on stdout. It should us at least worth a debug message with this information - Use tox in .travis.yml, remove .travis.script - Fixed helper/kiwi-boot-packages Take care for packages marked for a specific architecture - Delete unused helper/run-pep8 - Adapt make flake target to changed tox target - Add --cover-min-percentage=100 and helper script - Fixed spec file for kiwi-boot-requires The meta package for the buildservice has to require the new python3-kiwi package - Use --cover-min-percentage=100 instead of coverage - Replace helper/coverage-check with coverage Use --fail-under=99 option which fails for tests under 100% - keep packages in yum cache - Rename flake -> check, move spell * Move spell target/step to doc.spell * Call doc.spell in the doc target/step * Rename flake to check (to make it independant of any tool) - Spelling fixes - Tox setup updates Integrate with Makefile, delete pep8 target from Makefile, use flake8, update travis script, delete coverage reference, we want 100% anywhere - Fixed raid_device_test The test did not mock os.path.exists and thus could fail on systems which uses a raid system - Update word list - Remove empty line to avoid error message Avoid following error message: CRITICAL **: enchant_is_title_case: assertion `word && *word' failed - Activate personal spellchecking dictionary - Open travis check for all branches - Added kiwi-filesystem provides to spec template The main python3-kiwi package provides support for these filesystem image types - Integrated Tox * First incarnation of tox.ini * Extend MANIFEST.in * Add doc/requirements.txt * Extend conf.py with 'sphinxcontrib.spelling' extension * Add wordlist to doc/source/spelling_wordlist.txt * Add flake8 section in setup.cfg - Fixed cmdline lookup Only check contents of cmdline if it is not None - No fdupes checking required anymore - Don't track root/usr/share/locale in boot images The data there is now generated by the make po target - Fixed fuzzy i18n for en_US/LC_MESSAGES/kiwi.po - Added kiwi-image provides to spec template The main python3-kiwi package provides support for these image types. - Prevent any output if quiet is set If exec >/dev/null is run before setterm clears the screen, then "Failed to find cpu0 device node" is displayed even if quiet is set. - Fixed shell syntax in grub2 template Fixes (bnc#961334) - Refactor suseStripKernel The way the method downsizes the kernel tree is wrong in several places and very hard to read. Therefore the code has been refactored and splitted into task methods which can run independently from each other. As one result the kernel tree is not missing any metadata and/or update weak-updates paths anymore. Fixes (bnc#965830) - Remove flush before resize filesystem According to the manpage, -F is flushing the fileystem buffer caches. which is only really useful for doing resize2fs time trials. With current Tumbleweed installed on MMC, -F triggers a Inappropriate ioctl for device while trying to flush error, and then fails to resize. - Update arm boot image descriptions Grub2 adds 35MB to the initrd for no reason on armv6/v7, as those images use u-boot scripts for booting. - Fixed checkFileSystem call In the refactoring fc363cc, the parameters of checkFileSystem got changed to expect the device name, but one of the invocations didn't pass down the device name due to a typo. - Ignore fdasd errors Like fdisk, fdasd also reports an error when re-reading the partition table. But the table was written correctly so we continue for the moment and add a debug message - Fixed boot image result filename Has to follow the naming convention - Fixed pxe builder kernel/hypervisor target path - Use bytes type with hashlib - Refactor result bundler instead of being clever in the result bundler we should be more explicit when adding a result to the result instance. Therefore the result.add method now also allows to specify if this result should be part of a result bundle and whether it should be placed compressed or uncompressed in this bundle - Added metadata rpm files to all builders rpm packages and verification information is now added to all builder results. Fixes #13 - Fixing code smells from Landscape.io https://landscape.io/github/SUSE/kiwi/161/messages/smell Fixed issues: * Unused imports * Unused variables * Specify string format arguments as logging function parameters (log.warning("%s bla" % x) -> log.warning("%s bla", x) - Ignore backup files - Added the following system setup methods export_rpm_package_list and export_rpm_package_verification Used to provide rpm package metadata and verification information for rpm based image builds - Improve doc * Consistently use KIWI * Fixed punctuation * Added zypper ar for adding KIWI's OBS repo - Fixed unit test read return result Unit test mocking read should return a bytes array and not a string because that's what python3 would do in reality - Fixed path location in disk_format_image result - Fixed disk format builder This one was missing the output image name adaptions - Regenerate xml_parse data structures for python3 - Better error response in debug output If a Command.run fails with an error code != 0 but not data was produced on the stderr channel, we provide this as information to the caller - Port kiwicompat to python 3 - Port helper tools to python3 Also fixes completion to correctly parse the toplevel --compat option - Do not activate dmraid paritions Only activate the device itself, not the partitions, that may also exist. If partitions exist, the UDEV rules will create the corresponding "_partX" symlinks for each partition within "/dev/mapper, which is totally sufficient. - Fixed cut and paste error in spec template correct the project Url - Update README add install information for python3-devel - Fixed README wrong reference to env2 where it should be env3 - Update README - Update travis env to python 3.4 - Port application from python 2.7 to 3.4 For new applications like this kiwi version and its use cases it is better to base it on a more recent python version - Fixed bundling container results Container images are already compressed, there is no need for the bundler to do that again - Use pinch_system with force in any case Deletion of packages should be done with the force flag set. Otherwise the package manager computes a resolved list for the deletion targets which causes other packages to be deleted which is unwanted - Fixed host to image root data setup On bind mounts check if the origin path exists on the host. On copy check if the origin file exists on the host - Fixed deactivate_systemd_service Check if the service file exists, if not there is no need to deactivate an non existing service. - Use alternatives mechanism for completion file This avoids the package conflict with the legacs kiwi version - Weaken kiwi-tools requirement - Handle 32bit Intel arch as ix86 in boot code - Allow building 32bit bios images - Delete %post from kiwi-pxeboot We do not provide a default config file for the pxe setup anymore. There is no good default file we can provide here because we don't know how the user has configured a pxe image. The documentation should explain how to setup the pxe config and infrastructure with the help of the static data provided by the kiwi-pxeboot package - Don't require python-Sphinx at build time Sphinx is not available on all platforms and required only to build the manual pages. Thus the make build target can build the man pages and pack the result into the source tarball - Don't strip ctc_configure from initrd ctc_configure is used on s390 images - Added man page for result bundle command - Added result bundler - Added kiwi-boot-requires buildservice meta package - Delete unused .releasetags helper Fixes #9 - Update README - Update README - Added system update manual page - Create manual pages Create man pages for result list, system build, prepare and create - Added pv xen drivers to boot descriptions Beginning with SLE12 SP2 the default kernel is a pvops capable kernel. This means it can be used in a Xen HVM full virtual machine as well as in a PV - paravirtual machine. However it's required to keep the paravirtual net, block modules in the initrd. As their location also has move an update of the boot image descriptions was necessary - Fixed wait message in waitFor boot functions Better indicate for what we are waiting - Load xen modules by alias only - Fixed validation of custom root cmdline variable A variable of the format root=LABEL=x was not correctly validated - Change default ec2 root_cmdline_parameter For ec2 based firmware the value root=UUID=x is provided instead of a static device node - Refactor internal boot image task Make a factory out of the task and allow to have e.g a dracut boot image task at a later point in time. The BootImageBase class creates an interface for this implementation. So far only BootImageKiwi is implemented - Added export_modprobe_setup method to SystemSetup export_modprobe_setup copies the contents of etc/modprobe.d to a specified target root directory. The method is used to transfer the modprobe configuration from the system image to the boot image - Fixed archive_builder_test Mock platform value - Added compatibility information to main man page - Put arch and version to output image file name - Added quick start example to main kiwi manual page - Fill master manual page with content - Added git like command completion Provide a 'Did you mean' log message for unclear task names - Update README - Fixed non-executable-script rpmlint warning - Man pages are below level 2 - Fixed rpm-buildroot-usage rpmlint warning - Fixed non-executable-script rpmlint warning - Delete unused .md5 script - Fixed rpm package build - Fixed dracut call Always create a generic initrd, don't pass -H - Fixed custom args setup for vmdk format custom args is a hash with option/value pairs. For vmdk the option could be e.g adapter_type=value and the value is None. This is by intention because qemu which receives those type of options allows only the syntax "-o option=value". The kiwi code setting up the options did not check correctly if there really is a value for e.g adapter_type - Allow alternative locations for grub installation Different distributions install grub2 to different places. Therefore kiwi should not use a fixed location but allow to lookup grub data at several places - Fixed unit test for fix_boot_catalog on big endian - Fixed unit test for fix_boot_catalog on big endian - Make sure to cleanup yum requests after processing - Fixed CommandIterator check for output before sending an iteration stop - Fixed stateful copy of repository section Profiles are not copied because they might not exist in the target description - Fixed host to root path patcher Don't be confused by multiple /'es - Added support for yum package manager - Fixed use of iso mounted repositories When using an iso as repo, kiwi mounts it to a temporary location. The location is different for each build and therefore the zypper repo file needs to be recreated for any new build in this situation - Check if config file exists Before updating a config file, check if it exists. If it is not present skip the configuration and print a warning message - Added yum repository support - Make man install target more stable - Update source manifest include only doc Makefile and source, the pages are build at build time - Include installation of man pages to spec file - Added man page templates for all commands - Added man page templates Added template for master page and result_list - Added initial sphinx documentation structure The documentation will cover kiwi manual pages. more detailed documentation will be written and maintained in colaboration with the documentation department - Fixed use of noglob shell option - Added support for kiwi --compat The --compat call will trigger the call of the kiwicompat tool written to support legacy kiwi commandlines. An example could look like the following call: sudo kiwi --compat -- --build /my/description --type vmx -d /my/dest Please be aware the -- is required to tell docopt to treat all options as parameters - Prevent duplicate error logging - Refactor CommandProcess class Use an iterator class to run through the process. implement poll variants explicit and clear structured - Fixed updateRootDeviceFstab Support by-label mount entries for btrfs subvolumes This fixes bnc#964474 - Add kiwicompat to Makefile build and install target - Update README - Update README - Bump version: 8.10.0 ? 8.10.1 - Prepare for package building - Follow up fix for fstab setup Use the system installed fstab as default if present - Support building in buildservice worker The repo setup inside of a buildservice worker uses a static path below /usr/src/packages/SOURCES/repos/. We need to adapt the provided obs uri type to match this criteria - Don't add kernel filesystems to fstab Systems with systemd which this kiwi version aims for, doesn't need proc, sysfs, debugfs and friends to be part of the fstab This fixes bnc#964472 - Fixed btrfs build with snapshots - Allow system to be installed on btrfs snapshot This fixes (bnc#946648) - Put kiwi_btrfs_root_is_snapshot to boot profile - Recompile schema and data structures New attribute btrfs_root_is_snapshot and methods - Evaluate kiwi_btrfs_root_is_snapshot in boot code If set it's required to mount the subvolumes like it is done with lvm volumes. In addition this patch fixes the update of the fstab file which has to contain an entry for each subvolume excluding snapshots and the toplevel This is related to (bnc#946648) - Added btrfs_root_is_snapshot attribute This is related to (bnc#946648) - Added fix_boot_catalog and relocate_boot_catalog - Prevent duplicate validation of cmdline - Fixed grub2 xen guest bootloader config - More modules not present for grub2/x86_64-xen - There is no multiboot module for grub2/x86_64-xen - Make sure get_partition_table_type returns a value - Use bash to call config scripts - Fixed regular expression pattern use re.escape to make sure the search string has special regular expression characters quoted correctly - Added support for using internal build service An option --obs-repo-internal was added - Add support for alternative config file *.kiwi - Allow to build directly from buildservice checkout - Fix misleading variable name - Move default boot timeout to Defaults class - Fixed boot exclude for zipl case - Fixed zipl bootloader setup and install quote special characters in title for menu. refactor the zipl bootloader install class to know about the boot partition device node - Added title quoting method for older loaders - Move VTOC creation into Disk class - Fixed missing setup_disk_boot_images for zipl The interface class implements this with a raise condition by default. For zipl no bootloader images needs to be created Thus implement the method and pass - Fixed typo in list assignment - Fixed LoopDevice class custom blocksize value must be passed as string to the command level not as integer - Platform fixes for XML tests - Platform endian fix for vhd tag test - Platform fixes for unit tests - Platform mock for grub2 bootloader tests - Platform mock for grub2 bootloader tests - Added BootLoaderInstallZipl class - Activate zipl bootloader config in factory class - Finished BootLoaderConfigZipl class and tests - Delete unused patch statement from test - Added BootLoaderConfigZipl class The implementation is still unfinished - Pass the disk device to the bootloader config As a custom option the BootLoaderConfig instance now receives the target disk device node. So far this is only used in the zipl case where it is needed which is the reason why it is kept as a custom argument - Allow custom options for bootloader config classes - Added zipl bootloader template - Added partitioner_dasd for s390 - Refactor Firmware class more information from the XML description is needed in order to make e.g decisions about the partition table type to use according to the firmware setup in combination with e.g the target loader type on s390. Thus the class now receives an instance of the XML state and not only the firmware attribute value - Disable setup of hwclock hwclock seems not exist on all supported architectures. In addition the build process should not fiddle with the build host hardware clock - No need for a condition if there is no alternative - No need for a condition if there is no alternative - Use 800x600 default for grub2 gfxmode - Close progress line with CR when finished - Added ImageBuilder factory - Added system build command Allows to combine prepare and create into one big task - Better error message for pickle exceptions There is no meaningfull error message for pickle.load exceptions. Thus only provide the exception type and our own message - Use pickle instead of marshal - Fixes for the container builder in the setup if the files to update do not exist the process failed. This patch adds a check prior to changing the file - Make sure the create task creates the target dir - Fixed result object dump marshal.dump requires an open file object not a filename - Added ContainerBuilder currently supports building of docker containers - Added ContainerImage class Factory plus implementation for docker - Refactor variable name for root directory If it is clear the source directory is the root directory of the image the variable should be named root_dir not source_dir - Fixing landscape issues - Added ContainerSetup classes Base and Factory plus implementation for docker - Refactor user/groups setup Provide an easier to travers data type in xml_state for the user and groups. The get_users() method returns a list of tuples which assigns each user list the group name and id it belongs to - Use normpath to avoid double slash in output - Added kiwi result task Implementing 'kiwi result list' which marshal loads the serialized result instance from a previous build and shows the build results - Dump the result instance as a marshal dump - Add clic as supported live media build target - Added FileSystemClicFs class - Fixed contents of header_end block off by one bug - Finished LiveImageBuilder for overlay iso type - Added check if UDF extension is needed or not - Put supported live image iso types into defaults - Added live ISO grub2 efi template and setup - pep8 fixes - Rebuild schema and data structures - Allow xfs as hybrid RW file system - Continue with LiveImageBuilder class Added isolinux bootloader setup, finished live build procedure Live metadata injection still missing. grub2 efi boot for live image still missing - Don't use filesystem specific mount option When mounting the read write filesystem, prevent using filesystem specific options like barrier - Use HYBRID_EXT4_OPTS in fat container filesystem - Check read write filesystem prior to mounting If a filesystem type could be identified on the read write partition check it before mounting to eliminate a potential dirty state - Cascade exfat mount try normal mount first, if this does not work try fuse mount Normally this is done automatically by the mount program but if not we will give the direct fuse mount a chance - Fixed Makefile target to build data structures A change in kiwi/schema/kiwi.rnc triggers the build of the schema rng version as well as an auto update of the data structures via python's generateDS. The intermediate xsd schema format is only relevant for the data structure creation process - Make createFileSystem more robust When passing in a loop file instead of a device name, the method should be smart enough to handle the name without shell evaluation - Added support for exfat as hybrid filesystem In addition to fat also exfat is now supported as persistent write filesystem. Because of the limitations of a fat filesystem fat and exfat are only used as a container filesystem providing an ext4 linux filesystem as a cowfile. The algorithm to create the size of the cow file has also been changed to use half of the size of the write partition or on fat a max size of 4G. The size of the cowfile is also prepared to become overwritten. However the XML definition and implementation to do this is still missing - Reread partition table after hybrid setup The hybrid write partition is created via fdisk. Some version of fdisk does not send the ioctl to let the kernel reread the table or fdisk itself holds it busy. Thus we actively initiate a reread via blockdev - Optimize ext4 hybrid write filesystem options Optimized for 512kB erase block size - Use mount options to increase overlay performace For overlay filesystems not writing into a tmpfs performance is more important than safety. We use this combination of options for now, if you encounter stability problems please let us know - Use -f force option for extX filesystem checker - Refactor and cleanup setupReadWrite Fix misleading error message and refactor the code to be less complex and more clear in the processing of tasks - Allow custom cowfile name for persistent data Instead of a fixed name 'cowfile' we allow a custom name which is predefined in HYBRID_PERSISTENT_FILENAME and prepared to become overwritten by an XML defintion whose implementation will follow later. Reason for the change is that a cowfile is visible as plain data file to the operating system if e.g used on a live stick. It should be more clear to the user what this file is good for - Protect mkfs.exfat from being deleted Added to the strip tools section in order to keep it in the initrd - Added support for exfat creation and probing In preparation to use exfat instead of vfat in a loop container for persistent data it's required to provide support for mkfs.exfat - Make loop_setup and loop_delete more robust The methods did not cope well with filenames containing bash characters with special meaning e.g spaces. For use with a iso hybrid cowfile whose name is visible in the OS the methods should be able to work with any given filename - Started with LiveImageBuilder class Added interface and required steps. tests and implementation are missing and will follow - Added archive builder - Added repo handling to compat caller Also added process execution with translated arguments - Add compat translation for prepare/create/upgrade - Added kiwicompat to support legacy commandline - Added install pxe archive support - Added warning message if pxedeploy section is used At the moment there is no class to build the pxe client config file from information provided with the optional pxedeploy section. However this is not fatal to the build because the file could be created manually too. Thus a warning message is shown which will go away when the pxe client config file creation has been ported - cleanup test data to be consistent - Added recovery setup - Added DiskFormatGce class implementation - Fixed suffix name for compressed archives - Added creation of gnu and xz archives to tar class - Refactor result collection Put the creation of a result object into the builder classes and return them from there. The builder instances knows about the results not the task instances - Fixed option handling for vmdk format - Activate disk format building in disk builder If disk format and install media is configured together only the install media will be built and a warning message for skipping the disk format is shown - Added custom argument handling for disk formats - Added DiskFormat factory - Added DiskFormatVmdk class implementation - pep8 fixes - Added DiskFormatVhdFixed class implementation - Delete unused test data symlinks - Added DiskFormatVhd class implementation - Added DiskFormat base class Also added implementation for DiskFormatQcow2. More format classes will follow next - Fixed import of kernel parameters including spaces Kernel parameters like PRODUCT_TYPE=?PRODUCT BANANA? breaks the code in includeKernelParameters. This patch allows spaces for values in a way that it replaces the embedded whitespace with \030 before parsing and then reverting after parsing. Thanks to Jay Nitikman for providing the patch - Fixed LUKS setup for dracut The system image has to provide /etc/crypttab to allow dracut to create a working initrd for reboot. In addition the name of the luks map must be 'luks' to make dracut happy. - luks setup triggers boot partition by default - Add LuksDevice class and implementation Also implemented luks support in DiskBuilder - Handle /boot/vc files for Raspberry Pi openSUSE Tumbleweed raspberrypi-firmware[-branding-openSUSE] packages have been updated to install files to /boot/vc rather than /boot. Ensure that all files in /boot/vc are provided in image/loader for further reference - Refactor file system check in boot code - Make sure VolumeManager instance updates root map An instance of volume manager could cause the creation of a new device e.g in case of LVM. The master device map in the disk builder has to be updated with this device - Fixed unconditional lookup of boot partition id - Package check for packages marked for deletion If none of the packages to become deleted are installed we will raise an error, basically to force people to fixup the image description - Better error message for call with unknown command If kiwi is called with an unknown command an error message showing which commands actually exists should be shown - Fixed user group creation The command name is groupadd not addgroup - Fixed label and UUID support for XFS creation - Traverse dictionary in ordered mode - Return sorted lists for packages/archives - Traverse dictionary in ordered mode - Traverse dictionary in ordered mode - Traverse dictionary in ordered mode - Added __githash__ to version.py Any time the version.py is changed and committed the git ident will be reset by git. After a checkout of version.py the ident will be updated in version.py to the git commit id of version.py Whenever we relase a new kiwi version the process is as follows: 1. run bumpversion to set the version for the release 2. run tox to create the source tarball for the release We have to make sure tox calls a git checkout of version.py - Consolidate use of Makefiles for schema conversion As we are going to switch to tox the Makefile setup should be cleaned up. The make targets to build xsd and rng schemas has been moved to the master Makefile - Consolidate use of Makefiles for locale setup As we are going to switch to tox the Makefile setup should be cleaned up. The make targets to handle po files and their installation has now been moved to the master Makefile - Update translation po files with template - Consolidate use of Makefiles for compiling tools As we are going to switch to tox the Makefile setup should be cleaned up. I'm going to move the various places and its tasks into one master Makefile to make it easier to move the targets one after the other into a tox setup. - Refactor source code structure All files referenced by kiwi should live below the kiwi namespace and should be referenced by the resource_filename() method from the pkg_resources - Update exclude list for boot image runtime data There are some directories needed during boot image creation time, e.g grub2 modules to create grub images. But at boot time this data is no longer required and would just waste space in the initrd - Delete dracut from boot images dracut is needed in the system and also called from there by the kiwi boot image, but inside of the boot image it is not needed and just wastes space - Add some paths not needed in the boot image - Added boot messages translations - Exclude /image from boot images - Change default boot image description path Let the default boot image description path point to boot/arch - Make sure the boot image profile provides its name The variable kiwi_initrdname was added to the .profile environment for boot image builds - Update boot image functions Delete a lot of legacy code from the bash boot code - Added boot image descriptions Provide boot(initrd) image descriptions for supported architectures and distributions - Fixed unit tests, mock NamedTemporaryFile - Added coverage to developer requirements - Use "next generation" string To distinguish it between old and new KIWI - Review and add corrections * Consistent spelling: kiwi -> KIWI, python -> Python * Add punctuation * Use backticks for scripts and dirs - Update development status to be inline with setup.py - Deleted no longer needed bin/kiwi script - Update README Added developer information how to contribute - Minor changes in virtualenv setup file names Moved the requirements.txt setup files into a namespace called .virtualenv in order to stay compatible with the .travis requirement files - Update development status in setup.py - Fix #5: Improve setup.py * setup.py: - use setuptools always, no need to check for distutils - include keywords 'include_package_data', 'zip_safe', and 'classifiers' * setup.cfg: - add bdist_wheel and sdist section * Add missing MANIFEST.in (needed for setup.py dist) * Remove executable bit for LICENSE and README.md - Fix #3: Requirement for Virtual Envs * Add requirements.txt and dev-requirements.txt The dev-requirements.txt installs requirements.txt automatically * Ignore .env, .env2, and .env3 virtual env directories - Fix #4: support bumpversion with .bumpversion.cfg - Added RaidDevice class implementation in disk_builder - Fixed hybrid call offset number should be passed as string to Command __VERSION__ -> __version__ - Rename __VERSION__ -> __version__ - Added hybrid ISO setup - Refactor creation of a PackageManager factory - Refactor creation of a Repository factory - Refactor creation of a BootLoaderInstall factory - Refactor creation of a VolumeManager factory - Refactor creation of a BootLoaderConfig factory - Refactor creation of a Partitioner factory - Refactor creation of a FileSystem factory - Fixed travis setup - Refactor InstallImageBuilder no need to provide the name of the disk image, this information can be created from the xml state - Fixed missing md5 file on install media - Travis testing needs cdrtools for isoinfo - Added two pass ISO creation system The kiwi ISO's are prepared to be hybrid by adding an end header block so that isohybrid can place its gpt header at the correct offset address - Added user log messages for install media builder - Fixed grub bootloader template for install case Template was missing the cdinst option - Added create_header_end_block method in Iso class - Added isols method in Iso class - Fixed ui theme setup in isolinux.cfg - Added isolinux bootloader support - Prevent zypper failing on outdated system solvable - landscape: fix unused imports - Refactor boot data extraction from boot image Allow data extraction multiple times, don't move files away from their original location - landscape: fix unused imports - landscape: fix unused variables - Add debug message for repo cleanup - landscape: fix unused variables - landscape: fix unused imports - landscape: fix dangerous defaults - landscape: fix dangerous defaults - Added landscap config file skip checking auto generated code - Update README - Set naster branch for travis setup - Update README - Update README Travis and Landscape status - Update README - Update README ==== qqc2-desktop-style ==== Version update (5.53.0 -> 5.54.0) - Update to 5.54.0 * New feature release * For more details please see: * https://www.kde.org/announcements/kde-frameworks-5.54.0.php - Changes since 5.53.0: * Fix warning * Fix menu item width when the delegate is overriden (kde#401792) * Fix warnings * Rotate busy indicator clockwise * same behavior as Kirigami ScrollablePage * force checkboxes/radios to be square ==== remmina ==== Version update (1.2.32.1 -> 1.3.0) Subpackages: remmina-lang remmina-plugin-rdp remmina-plugin-secret remmina-plugin-vnc remmina-plugin-xdmcp - Added remmina-1.3.0-removed-edit-delete.patch from upstream to exclude edit-delete.svg causing a conflict with kaffeine. - Upgraded to 1.3.0 * Use window resolution * rcw_preopen complete * RDP: new global parameter rdp_map_keycode * Use decimal instead of hex on rdp keycode map * Updated translations * Adding language detection * Auth panel widget placement * CSS modifications to adapt to stock Gnome and Gtk themes * Updated CSS to have black background in fullscreen * Gtk deprecation and CSS restzling * Gtk icon cache update during install phase * Correctly set focus after rcw_preopen * Icons and gtk fixes for rcw_reopen * Deprecates dynamic_resolution_width and height cfg params * Disable glyph cache by default * Fix crash when showing password panel * Fix crash when showing password panel * allow closing tab after error message panel is shown * Remove deprecated floating toolbar toplevel window * Fixed missing icons * Make menu items paintable by the application * Open connection window before connecting * Prevent toolbar signals while reconfiguring toolbar * Update toolbar button handling * Added xrdp friendly options * RDP fixes: remove redundant rfi->width/rfi->height and more * RDP: correctly destroy rfi->surface during a desktop resize * RDP: move gdi_resize() to a better place * RDP: remove unneeded OrderSupport struct init * VNC: Fix possible crash during connection * Search box clear icon * Updated CONTIBUTING.md and README.md * Updated sponsor list * Updated wiki URLs * Updating coyright for year 2019 ==== rubygem-fast_gettext ==== Version update (1.8.0 -> 2.0.0) - updated to version 2.0.0 see installed CHANGELOG 2.0.0 -- Changed p_ separator to https://github.com/grosser/fast_gettext/pull/107 add np and add gettext aliases ==== signon-kwallet-extension ==== Version update (18.12.0 -> 18.12.1) - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== spamassassin ==== Subpackages: perl-Mail-SpamAssassin - Reduce boilerplate generated by %service_*. - bsc#1115411 spamassassin: migrate from cron to systemd timers - Apply %license macro ==== step ==== Version update (18.12.0 -> 18.12.1) Subpackages: step-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Remove traces of KDE4 from the build system * Fix mem leak found by asan ==== sweeper ==== Version update (18.12.0 -> 18.12.1) Subpackages: sweeper-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * No code changes since 18.12.0 ==== umbrello ==== Version update (18.12.0 -> 18.12.1) Subpackages: umbrello-lang - Update to 18.12.1 * New bugfix release * For more details please see: * https://www.kde.org/announcements/announce-applications-18.12.1.php - Changes since 18.12.0: * Fix 'Strange multiple duplication of labels on interfaces in component diagram after saving' (kde#402722) * Cleanup owner setting of PinPortBase related classes in constructor * In ClassifierWidget fix duplicated common painting in widget interface variant * Update docbook files to version 4.5 to be compatible with KF5 ==== v4l2loopback ==== Version update (0.12.0_k4.20.0_1 -> 0.12.1_k4.20.2_1) - Update to version 0.12.1 [ IOhannes m zm�lnig ] * Fix permission of source code files * Initialize variables * Use %u to print size_t * Improve coding style by removing unused variables * More coding style fixes * Use GStreamer-1.0 caps in the documentation * Gst1.0 compat for example-script * Protect VP9 and HEVC by #ifdef guards [ Andrii Danyleiko ] * Fix typo [ Kai Kang ] * Replace do_gettimeofday with v4l2_get_timestamp for linux-5 compat ==== xfce4-branding-openSUSE ==== Subpackages: exo-branding-openSUSE libgarcon-branding-openSUSE libxfce4ui-branding-openSUSE openSUSE-xfce-icon-theme thunar-volman-branding-openSUSE xfce4-notifyd-branding-openSUSE xfce4-panel-branding-openSUSE xfce4-power-manager-branding-openSUSE xfce4-session-branding-openSUSE xfce4-settings-branding-openSUSE xfdesktop-branding-openSUSE xfwm4-branding-openSUSE - Change cursor to DMZ-Black to match system default. This change makes Yast no longer have a different cursor. ==== xfce4-panel-plugin-whiskermenu ==== Version update (2.3.0 -> 2.3.1) Subpackages: xfce4-panel-plugin-whiskermenu-lang - update to 2.3.1 * Fix crash when reload is required. * Translation updates - drop obsolete macros ==== yast2 ==== Version update (4.1.48 -> 4.1.53) Subpackages: yast2-logs - CWM: Added date field and time field widgets (fate#322722) - 4.1.53 - Support special products which will be enabled via linuxrc (flag "specialproduct") (fate#327099) - 4.1.52 - Firewall: drop not needed relations and its related methods - Firewall: move export method to yast2-firewall (fate#324662) - 4.1.51 - CWM: Add method focus to object CWM widgets (FATE#324662) - CWM: Add rspec helper for common CWM widgets - CWM: Allow CWM dialogs/popups to have own help - CWM: Fix showing help for CWM Popup (FATE#324662) - 4.1.50 - Fix crashes of many modules when invoking from ncurses control center (bsc#1121425) - 4.1.49 ==== yast2-apparmor ==== Version update (4.1.3 -> 4.1.4) - Use exit status of the executed program and present appropriate message to the user (bsc#1120277) - 4.1.4 ==== yast2-firewall ==== Version update (4.1.5 -> 4.1.10) - Autoyast: do not overwrite imported configuration when editing and fixed check for not configured summary (fate#324662) - 4.1.10 - Propose to reload the firewalld service after writing instead of restarting it as in other case it will unload kernel modules and terminate existing connections (bsc#1114673, bsc#1121277) - 4.1.9 - Autoyast: remove unused options, move export to own class, add support for custom zones in autoyast profile (fate#324662) - 4.1.8 - Fixed text domain names (bsc#1121643) - 4.1.7 - Ensure that custom zones use unique name (fate#324662) - Explicitly mention that masquerade is IPv4 only (fate#324662) - 4.1.6 ==== yast2-network ==== Version update (4.1.29 -> 4.1.34) - bnc#1122387 - do not crash with internal error when modifying /etc/hosts - 4.1.34 - bnc#1122517 - do not crash with internal error when cloning /etc/hosts - 4.1.33 - bnc#1122307 - do not crash with internal error when adding new device - 4.1.32 - AutoYaST write settings: Fixed crash while reading MAC address (bsc#1121087). - 4.1.31 - bnc#1121421 - do not crash with internal error when installing using AutoYaST profile with networking section - 4.1.30 ==== yast2-pkg-bindings ==== Version update (4.1.0 -> 4.1.1) - SourceFinishAll: drop the cached source manager to reload the repositories from disk, avoid restoring the removed repositories (bsc#1120568) - 4.1.1 ==== yast2-ruby-bindings ==== Version update (4.1.1 -> 4.1.2) - Support for FastGettext 2.0 (still works with FastGettext 1.6) (bsc#1121865) - 4.1.2 ==== yast2-storage-ng ==== Version update (4.1.43 -> 4.1.47) - Make the storage proposal (i.e. the Guided Setup) easier to debug (bsc#1057436). - 4.1.47 - do not include nil in package list of used storage features for FC devices (bsc#1122781) - 4.1.46 - Specific error pop-up for exceptions raised while calculating the storage actions (mitigation of bsc#1120070). - 4.1.45 - Allow to cancel Guided Setup (bsc#1121442). - Link to storage client from installation summary (bsc#1099485). - 4.1.44 ==== yast2-trans ==== Version update (84.87.20190105.e1195fbe48 -> 84.87.20190119.79f0258829) Subpackages: yast2-trans-af yast2-trans-ar yast2-trans-bg yast2-trans-bn yast2-trans-bs yast2-trans-ca yast2-trans-cs yast2-trans-cy yast2-trans-da yast2-trans-de yast2-trans-el yast2-trans-en yast2-trans-en_GB yast2-trans-en_US yast2-trans-es yast2-trans-et yast2-trans-fa yast2-trans-fi yast2-trans-fr yast2-trans-gl yast2-trans-gu yast2-trans-hi yast2-trans-hr yast2-trans-hu yast2-trans-id yast2-trans-it yast2-trans-ja yast2-trans-jv yast2-trans-ka yast2-trans-km yast2-trans-ko yast2-trans-lo yast2-trans-lt yast2-trans-mk yast2-trans-mr yast2-trans-nb yast2-trans-nl yast2-trans-pa yast2-trans-pl yast2-trans-pt yast2-trans-pt_BR yast2-trans-ro yast2-trans-ru yast2-trans-si yast2-trans-sk yast2-trans-sl yast2-trans-sr yast2-trans-sv yast2-trans-ta yast2-trans-th yast2-trans-tr yast2-trans-uk yast2-trans-vi yast2-trans-wa yast2-trans-xh yast2-trans-zh_CN yast2-trans-zh_TW yast2-trans-zu - Update to version 84.87.20190119.79f0258829: * New POT for text domain 'storage'. * New POT for text domain 'network'. * New POT for text domain 'firewall'. * New POT for text domain 'base'. * New POT for text domain 'firewall'. * Translated using Weblate (Danish) * Translated using Weblate (Russian) * Translated using Weblate (Persian) * Translated using Weblate (Danish) * Translated using Weblate (German) * Translated using Weblate (Danish) * Translated using Weblate (German) * Translated using Weblate (Slovak) * Translated using Weblate (Czech) * Translated using Weblate (Kabyle) * Translated using Weblate (Slovak) * Translated using Weblate (Japanese) * Translated using Weblate (German) * Translated using Weblate (Dutch) * Translated using Weblate (Danish) * Translated using Weblate (Czech) * Translated using Weblate (Catalan) * Translated using Weblate (Japanese) * Translated using Weblate (German) * Translated using Weblate (Dutch) * Translated using Weblate (Danish) * Translated using Weblate (Czech) * Translated using Weblate (Catalan) * Translated using Weblate (Kabyle) * Translated using Weblate (Indonesian) * Translated using Weblate (Slovak) * Translated using Weblate (German) * Translated using Weblate (Czech) * New POT for text domain 'rmt'. * New POT for text domain 'apparmor'. - Update to version 84.87.20190112.d51cb18994: * Translated using Weblate (Indonesian) * Translated using Weblate (German) * Translated using Weblate (Chinese (China)) * New POT for text domain 'storage'. * New POT for text domain 'network'. * New POT for text domain 'installation'. * New POT for text domain 'firstboot'. * New POT for text domain 'firewall'. * Translated using Weblate (Japanese) * Translated using Weblate (Dutch) * Translated using Weblate (Catalan) * Remove confusing *.xgettext.pot files * Fixed string interpolations * Translated using Weblate (Danish) * Translated using Weblate (Indonesian) * Translated using Weblate (German) * Translated using Weblate (Indonesian) * Translated using Weblate (Kabyle) * Translated using Weblate (Indonesian) * Translated using Weblate (Indonesian) * Translated using Weblate (Danish) * Translated using Weblate (Italian) * Translated using Weblate (Danish) * Translated using Weblate (Indonesian) * Translated using Weblate (Danish) * Translated using Weblate (Indonesian) * Translated using Weblate (Indonesian) * Translated using Weblate (Danish) * Translated using Weblate (Danish) * New POT for text domain 'textdomain'. * New POT for text domain 'qt'. * New POT for text domain 'network'. * New POT for text domain 'firewall'. * New POT for text domain 'base'. * New POT for text domain 'multipath'. ==== yast2-users ==== Version update (4.1.5 -> 4.1.6) - Fixed call to renamed method (bsc#1121473). - 4.1.6 ==== ypbind ==== Version update (2.5 -> 2.6) - Update to version 2.6 - fix crash on reload [bsc#1114640] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org