Sync from SUSE:ALP:Source:Standard:1.0 mksusecd revision 08098e4994b047196923779880d348ba

This commit is contained in:
Adrian Schröter 2023-11-16 10:19:10 +01:00
commit 63dd84e934
4 changed files with 843 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
mksusecd-2.12.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

740
mksusecd.changes Normal file
View File

@ -0,0 +1,740 @@
--------------------------------------------------------------------
Mon Jul 24 17:45:16 UTC 2023 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#67
- allow --instsys option for Live media
- calculate EFI boot image size correctly
- if initrd/kernel are in two different location on the medium,
update in both locations
- isohybrid: remove outdated 1024 cylinders warning
- default to GPT if source ISO uses it
- add --signature-file option and rewrite signature embedding
- fix --instsys option handling (bsc#1213606)
- add --rescue option to allow modifying the rescue system
- update man page
- 2.12
--------------------------------------------------------------------
Thu Jul 13 16:52:52 UTC 2023 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#66
- add --volume1 option to allow setting separate labels for both
ISO file systems (bsc#1213185)
- 2.11
--------------------------------------------------------------------
Tue Mar 21 17:21:28 UTC 2023 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#65
- create efi boot image, if missing
- support grub hybrid boot code
- update doc
- show missing s390x file name correctly
- adjust boot info table checksum in grub
- better warning of insufficient file permissions
- support Live media (jsc#PED-2975)
- 2.10
--------------------------------------------------------------------
Thu Dec 15 19:22:07 UTC 2022 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#64
- much improved usrmerge kernel support (bsc#1206181)
- 2.9
--------------------------------------------------------------------
Wed Dec 7 16:03:59 UTC 2022 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#63
- fix handling of usrmerge kernels (bsc#1206181)
- 2.8
--------------------------------------------------------------------
Mon May 23 15:36:52 UTC 2022 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#61
- fix zstd compression handling (bsc#1198138)
- 2.7
--------------------------------------------------------------------
Mon Dec 6 13:11:46 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#60
- update documentation
- 2.6
--------------------------------------------------------------------
Mon Dec 6 10:02:49 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#59
- support tftpboot-installation-<PRODUCT> RPMs as source
(jsc#SLE-22669)
- 2.5
--------------------------------------------------------------------
Thu Nov 11 16:13:05 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#58
- read list of special initrd modules from .base_modules if it exists
- 2.4
--------------------------------------------------------------------
Thu Nov 11 14:34:04 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#57
- fix zstd compression handling
- 2.3
--------------------------------------------------------------------
Thu Nov 11 10:18:23 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#56
- rework documentation and split off proper man page
- adjust spec file
- 2.2
--------------------------------------------------------------------
Wed Nov 10 13:39:01 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#54
- mksusecd: add support for zstd-compressed archives and initrd
- mksusecd: support zstd compression for kernel modules
- zstd compression for initrd and kernel modules (jsc#SLE-18766,
jsc#SLE-18768, jsc#SLE-20248, jsc#SLE-21256)
- 2.1
--------------------------------------------------------------------
Tue Nov 9 11:08:08 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#55
- rename --instsys option to --instsys-url
- add new --initrd option for extending the installation system
- allow RPMs as media sources and add special handling for
skelcd-installer-xxx packages
- implement instsys extending for suse and rh style media
- support updating .treeinfo files
- code to distinguish suse and rh media
- add openSUSE spec file
- require at least checkmedia version 6
- add support for rh media (jsc#SCL-6)
- 2.0
--------------------------------------------------------------------
Mon Feb 22 15:34:35 UTC 2021 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#53
- handle .ko.xz modules (bsc#1182573)
- 1.78
--------------------------------------------------------------------
Fri Sep 25 10:39:23 UTC 2020 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#52
- fix add_on_products.xml handling (bsc#1176379)
- 1.77
--------------------------------------------------------------------
Thu Sep 10 16:03:10 UTC 2020 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#51
- look only at top-level products file (bsc#1176176)
- ensure modified files really end up on the media (bsc#1176176)
- adjust product handling if products are spread over several media
- include complete product directories
- fix product handling with new SLE full media layout
- 1.76
--------------------------------------------------------------------
Mon Jul 27 12:37:29 UTC 2020 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#50
- added "--sign-pass-file"
- added option for recreating and signing the repo
- remove "all done" message
- additional passphrase options are not necessary at key creation
- set additional options only when a existing sign key is specified
- print message if --sign-pass-file and missing
- sign-key
- readded removed line
- removed sign_passwd_option on import
- changed if-else-logic when specifying a passphrasefile
- readded redirection to /dev/null
- removed a print
- removed trailing spaces
- remove a single space
- additional options
- 1.75
--------------------------------------------------------------------
Wed Jun 24 16:05:31 UTC 2020 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#49
- add --sign-key-id option to allow specifying a gpg signing key by id
- 1.74
--------------------------------------------------------------------
Tue Jun 23 13:32:51 UTC 2020 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#48
- do not include excluded products (bsc#1173263)
- recreate products file, including its checksum update
- 1.73
--------------------------------------------------------------------
Thu Apr 9 07:27:15 UTC 2020 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#47
- Fix broken link to kiwi documentation
- 1.72
--------------------------------------------------------------------
Tue Dec 3 12:40:20 UTC 2019 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#45
- choose correct kernel image name for aarch64 (bsc#1158131)
- 1.71
--------------------------------------------------------------------
Thu Aug 15 10:01:44 UTC 2019 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#43
- adjust boot files for s390x (bsc#1141223)
- allow to set boot options via --boot also on s390x
- 1.70
--------------------------------------------------------------------
Tue Jul 16 14:42:02 UTC 2019 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#42
- embed gpg signature of checksum metadata into image (bsc#1139561)
- make unsigned images the default
- 1.69
--------------------------------------------------------------------
Thu Apr 11 13:53:46 UTC 2019 - snwint@suse.de
- merge gh#openSUSE/mksusecd#41
- add --enable-repos option
- update documentation
- 1.68
-------------------------------------------------------------------
Tue Nov 29 07:10:57 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary.
--------------------------------------------------------------------
Tue Nov 27 15:07:05 UTC 2018 - snwint@suse.de
- merge gh#openSUSE/mksusecd#40
- support aarch64 media
- 1.67
--------------------------------------------------------------------
Thu Nov 15 15:30:07 UTC 2018 - snwint@suse.de
- merge gh#openSUSE/mksusecd#39
- add HOWTO describing some typical uses
- update git2log script
- 1.66
--------------------------------------------------------------------
Fri Sep 14 08:53:41 UTC 2018 - snwint@suse.de
- merge gh#openSUSE/mksusecd#38
- no longer assume repo-md repositories don't include the installer
(bsc#1093145)
- no longer assume repo-md repositories don't include the installer
(bsc#1093145
- 1.65
--------------------------------------------------------------------
Fri Aug 31 11:30:37 UTC 2018 - snwint@suse.de
- merge gh#openSUSE/mksusecd#37
- adjust also isozipl to isoinfo changes (bsc#1097814)
- 1.64
--------------------------------------------------------------------
Wed Aug 29 09:48:20 UTC 2018 - snwint@suse.de
- merge gh#openSUSE/mksusecd#36
- don't forget to sign addon repository
- 1.63
--------------------------------------------------------------------
Thu Jul 5 14:30:14 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#35
- don't miss zstd compression module (bsc#1100236)
- 1.62
--------------------------------------------------------------------
Wed Jun 27 12:20:51 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#34
- keep some meta data for media checking even if no iso9660
filesystem is used (#1000947)
- 1.61
--------------------------------------------------------------------
Fri Jun 15 10:10:15 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#33
- adjust to isoinfo and syslinux changes (bsc#1097814)
- don't pass partition offset to tagmedia
- 1.60
--------------------------------------------------------------------
Fri May 25 13:17:42 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#32
- add -joliet-long to mkisofs call as some file names on our media
are too long (bsc#1094687)
- 1.59
--------------------------------------------------------------------
Tue May 8 14:04:20 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#31
- added link to obs builds
- add links to related blog articles
- 1.58
--------------------------------------------------------------------
Mon May 7 12:38:39 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#30
- fix cpio archive parser (bsc#1092147)
- 1.57
-------------------------------------------------------------------
Tue Mar 6 09:08:07 UTC 2018 - adam.majer@suse.de
- switch to using cdrtools for Factory and SLE15. wodim is to
be removed (bnc#1081739)
-------------------------------------------------------------------
Thu Feb 22 11:06:14 CET 2018 - snwint@suse.de
- adjust Requires to work also with older dists (bsc#1082057)
-------------------------------------------------------------------
Wed Feb 21 17:14:23 CET 2018 - snwint@suse.de
- require createrepo-implementation (bsc#1075670)
--------------------------------------------------------------------
Fri Jan 19 09:26:47 UTC 2018 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#29
- allow building of encrypted installation media
- fix handling of repo-md repositories with encrypted media
- 1.56
--------------------------------------------------------------------
Tue Dec 5 09:50:35 UTC 2017 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#28
- support new CHECKSUMS file
- 1.55
--------------------------------------------------------------------
Thu Nov 30 15:42:48 UTC 2017 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#26
- manage (sle15-style modules) repomd repositories
- 1.54
--------------------------------------------------------------------
Mon Oct 9 14:36:05 UTC 2017 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#24
- rework cpio parsing function to handle blobs added by our product
creator
- ensure initrd has really been unpacked when --rebuild-initrd
option is used
- beautify code
- 1.53
--------------------------------------------------------------------
Mon May 22 11:48:59 UTC 2017 - wfeldt@opensuse.org
- merge gh#openSUSE/mksusecd#23
- remove iso9660 header when creating image for usb media
(bsc#939456)
- clarify description of --fat option
- 1.52
-------------------------------------------------------------------
Thu May 4 11:39:42 CEST 2017 - snwint@suse.de
- include all documentation files
--------------------------------------------------------------------
Fri Apr 28 11:19:44 UTC 2017 - wfeldt@opensuse.org
- fix getopt config
- enhanced README.md
- merge gh#openSUSE/mksusecd#22
- document all functions
- 1.51
--------------------------------------------------------------------
Tue Apr 11 10:49:14 UTC 2017 - wfeldt@opensuse.org
- distinguish between repomd/classical repo types and allow to
specify the default repo location (fate#322983)
- merge gh#openSUSE/mksusecd#21
- fix typo in help text
- 1.50
-------------------------------------------------------------------
Wed Apr 5 15:00:18 UTC 2017 - snwint@suse.com
- add support for disk images with FAT file system
- 1.49
-------------------------------------------------------------------
Mon Apr 3 15:30:15 UTC 2017 - snwint@suse.com
- undo accidental mksusecd patch
- 1.48
-------------------------------------------------------------------
Mon Apr 3 15:20:13 UTC 2017 - snwint@suse.com
- some small doc fixes
- add dvd/disk image layout description
- 1.47
-------------------------------------------------------------------
Mon Apr 3 10:15:13 UTC 2017 - snwint@suse.com
- isohybrid: add --size option to specify image size
- 1.46
-------------------------------------------------------------------
Mon Mar 20 16:20:20 UTC 2017 - snwint@suse.com
- fix typo
- add --rebuild-initrd option for smaller initrds
- 1.45
-------------------------------------------------------------------
Thu Mar 16 12:42:33 UTC 2017 - jenkins@suse.com
- support old mksquashfs version
- 1.44
-------------------------------------------------------------------
Thu Mar 16 10:55:16 UTC 2017 - snwint@suse.com
- fix to work with older modules.dep format (bsc#1027636)
- 1.43
-------------------------------------------------------------------
Fri Aug 12 15:00:21 UTC 2016 - snwint@suse.com
- extended help text and added some small fixes
- fix choosing an add-on name
- be less restrictive when generating add-on aliases
- support creating add-ons on the target iso (bsc#991935)
- 1.42
-------------------------------------------------------------------
Tue Aug 2 12:35:20 UTC 2016 - snwint@suse.com
- catch error when we fail to unpack squashfs images
- handle modules.order and modules.builtin when updating a kernel
- 1.41
-------------------------------------------------------------------
Fri Jul 15 08:15:15 UTC 2016 - snwint@suse.com
- tw support: also sign image files
- sanitize function that removes files from iso
- remove tumbleweed images in 'micro' format
- 1.40
-------------------------------------------------------------------
Mon Jun 20 15:05:30 UTC 2016 - snwint@suse.com
- create missing 'content' file
- 1.39
-------------------------------------------------------------------
Tue May 10 15:15:17 UTC 2016 - snwint@suse.com
- adjust list of specially handled initrd modules
- 1.38
-------------------------------------------------------------------
Mon Jan 18 10:00:16 UTC 2016 - snwint@suse.com
- fix typo
- 1.37
-------------------------------------------------------------------
Tue Dec 8 09:40:12 UTC 2015 - snwint@suse.com
- add hashes for license and control file
- 1.36
-------------------------------------------------------------------
Fri Dec 4 14:35:58 UTC 2015 - snwint@suse.com
- support uncompressed initrd (bsc#957847)
- 1.35
-------------------------------------------------------------------
Wed Oct 21 10:11:36 UTC 2015 - snwint@suse.com
- fix ppc boot iso creation
- 1.34
-------------------------------------------------------------------
Tue Sep 29 09:15:22 UTC 2015 - snwint@suse.com
- Add link to linux-devtools documentation
- 1.33
-------------------------------------------------------------------
Wed Aug 12 14:21:04 CEST 2015 - snwint@suse.com
- move isozipl to /usr/bin
- make it work also with mkisofs from cdrtools
- 1.32
-------------------------------------------------------------------
Wed Aug 12 14:17:28 CEST 2015 - snwint@suse.de
- syslinux is no longer required
-------------------------------------------------------------------
Mon Aug 10 15:56:07 CEST 2015 - snwint@suse.com
- fix cpio unpacking bug
- 1.31
-------------------------------------------------------------------
Thu Jul 23 16:36:06 CEST 2015 - snwint@suse.com
- integrate isozipl in mksusecd
- add some options to isohybrid to make it more flexible
- add zipl binary blobs
- 1.30
-------------------------------------------------------------------
Wed Jul 22 17:16:19 CEST 2015 - snwint@suse.com
- added isozipl to make an iso zipl bootable
- 1.29
-------------------------------------------------------------------
Mon Jul 13 15:06:21 CEST 2015 - snwint@suse.com
- fix cpio archive unpacking
- 1.28
-------------------------------------------------------------------
Tue Jul 7 14:06:21 CEST 2015 - snwint@suse.com
- README: link to mkdud; grammar; formatting
- 1.27
-------------------------------------------------------------------
Mon Jul 6 17:11:21 CEST 2015 - snwint@suse.com
- extended readme
- 1.26
-------------------------------------------------------------------
Thu Jun 25 13:06:04 CEST 2015 - snwint@suse.com
- keep /content file up-to-date even when new files are added to the iso
- 1.25
-------------------------------------------------------------------
Fri Jun 19 15:10:56 CEST 2015 - snwint@suse.com
- ensure '/content' is re-signed when necessary
- 1.24
-------------------------------------------------------------------
Fri Jun 19 13:20:55 CEST 2015 - snwint@suse.com
- implement --kernel option to replace kernel & modules used for booting
- added --add-entry option to create a new boot menu entry for modifications
- 1.23
-------------------------------------------------------------------
Wed Jun 3 16:50:56 CEST 2015 - snwint@suse.com
- work properly when different iso sources are specified
- 1.22
-------------------------------------------------------------------
Mon May 18 10:35:54 CEST 2015 - snwint@suse.com
- get isohybrid binary location right
- 1.21
-------------------------------------------------------------------
Fri May 8 11:05:32 CEST 2015 - snwint@suse.com
- fix key generation issues with different gpg2 versions
- 1.20
-------------------------------------------------------------------
Sat Apr 25 09:35:55 UTC 2015 - schwab@linux-m68k.org
- Run through spec-cleaner
- Fix file list
-------------------------------------------------------------------
Thu Apr 23 16:12:25 CEST 2015 - snwint@suse.com
- fix Makefile
- 1.19
-------------------------------------------------------------------
Thu Apr 23 15:56:02 CEST 2015 - snwint@suse.com
- add special isohybrid variant to mksusecd package
- 1.18
-------------------------------------------------------------------
Thu Apr 23 15:16:04 CEST 2015 - snwint@suse.com
- added ppc64 (chrp) boot support
- 1.17
-------------------------------------------------------------------
Fri Mar 27 16:21:21 CET 2015 - snwint@suse.com
- replace archive unpacking function
- 1.16
-------------------------------------------------------------------
Thu Mar 19 10:16:20 CET 2015 - snwint@suse.com
- stick to initrd compression format when extending initrd
- 1.15
-------------------------------------------------------------------
Thu Feb 26 15:21:12 CET 2015 - snwint@suse.com
- replace content.key with actual signing key used
- handle duplicate filenames
- 1.14
-------------------------------------------------------------------
Tue Feb 24 14:26:13 CET 2015 - snwint@suse.com
- support initrds with pre-sle12 key management
- support adding driver updates to initrd
- no-sign option should also prevent updating 'content' file
- 1.13
-------------------------------------------------------------------
Tue Feb 10 10:06:07 CET 2015 - snwint@suse.com
- simplify key handling
- 1.12
-------------------------------------------------------------------
Mon Feb 9 12:06:10 CET 2015 - snwint@suse.com
- allow to use a user-supplied signing key
- 1.11
-------------------------------------------------------------------
Fri Feb 6 15:21:18 CET 2015 - snwint@suse.com
- re-sign '/content' if necessary
- fix git2log script
- 1.10
-------------------------------------------------------------------
Mon Jan 26 16:39:23 CET 2015 - snwint@suse.com
- update git2log script
- 1.9
-------------------------------------------------------------------
Fri Nov 28 15:10:50 CET 2014 - snwint@suse.com
- add support for grub2 el-torito setups
- 1.8
-------------------------------------------------------------------
Tue Oct 28 10:10:47 CET 2014 - snwint_jenkins@suse.com
- wipe files we really don't want to appear on the media
- 1.7
-------------------------------------------------------------------
Tue Oct 21 08:30:47 CEST 2014 - snwint_jenkins@suse.com
- added --no-digest option
- handle more than 2 el torito entries
- 1.6
-------------------------------------------------------------------
Mon Oct 13 15:43:43 CEST 2014 - jenkins@suse.com
- added 'archive' Makefile target
- updated git2log script
- added '--pico' option
- 1.5
-------------------------------------------------------------------
Wed Aug 13 16:08:10 CEST 2014 - snwint@suse.de
- support adding rpms to the initrd
- update checksums in /content file
- 1.4
-------------------------------------------------------------------
Fri May 23 15:12:57 CEST 2014 - snwint@suse.de
- fix micro & nano options
- update help text
- 1.3
-------------------------------------------------------------------
Fri May 23 13:47:42 CEST 2014 - snwint@suse.de
- fix package requires
-------------------------------------------------------------------
Tue Apr 29 13:59:17 CEST 2014 - snwint@suse.de
- better import of old iso9660 metadata
- 1.2
-------------------------------------------------------------------
Mon Apr 28 10:24:46 CEST 2014 - snwint@suse.de
- fix --micro option
- 1.1
-------------------------------------------------------------------
Mon Apr 28 09:47:59 CEST 2014 - snwint@suse.de
- add ISO meta info
- added --micro and --nano to produce small test isos
- use exclude file instead of individual options
- fix hybrid iso creation when boot options are added
- support adding boot options
- support s390x media
- ignore isohybrid warnings
- fix file magic usage
- add 'initrd' option to add files directly to initrd
- added install target
- added README
- added help text
- support fat
- 1.0

77
mksusecd.spec Normal file
View File

@ -0,0 +1,77 @@
#
# spec file for package mksusecd
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Steffen Winterfeldt
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mksusecd
Version: 2.12
Release: 0
Summary: Tool to create SUSE Linux installation ISOs
License: GPL-3.0+
Group: Hardware/Other
URL: https://github.com/wfeldt/mksusecd
Source: %{name}-%{version}.tar.xz
BuildRequires: libuuid-devel
BuildRequires: xz
%if 0%?suse_version >= 1500 || 0%?sle_version >= 120400
BuildRequires: rubygem(asciidoctor)
%else
BuildRequires: asciidoc
%if 0%?suse_version >= 1310 || 0%?sle_version >= 120000
BuildRequires: libxslt-tools
%endif
%endif
Requires: checkmedia >= 6.0
%if %suse_version >= 1500
Requires: createrepo-implementation
Requires: mkisofs
%else
Requires: createrepo
Requires: genisoimage
%endif
Requires: dosfstools
Requires: gpg2
Requires: mtools
Requires: squashfs
Requires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a tool to create SUSE Linux installation ISOs.
%prep
%setup -q
%build
%install
make DESTDIR=%{buildroot} LIBDIR=%{_libexecdir} BINDIR=%{_bindir} install %{?_smp_mflags}
install -D -m 644 mksusecd.1 %{buildroot}%{_mandir}/man1/mksusecd.1
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libexecdir}/%{name}
%doc README* *.md
%doc %{_mandir}/man1/mksusecd.*
%if %suse_version >= 1500
%license COPYING*
%else
%doc COPYING*
%endif
%changelog