Compare commits

...

31 Commits
master ... el6

Author SHA1 Message Date
Brian C. Lane d14c98ffc2 - Version 13.4.9 (bcl)
- Revert "symlink /etc/mtab to /proc/self/mounts (#688277)" (esoule)
  Resolves: rhbz#1347953
2016-06-21 17:24:33 -07:00
Brian C. Lane bec48c40a0 - Version 13.4.9 (bcl)
- python-imgcreate: remove -f from second lokkit call (#769457) (bcl)
2015-11-10 17:19:15 -08:00
Brian C. Lane 8bc26c6fed - Version 13.4.8 (bcl)
- litd: Make sure device nodes have time to appear (bcl)
- symlink /etc/mtab to /proc/self/mounts (#688277) (bcl)
2015-06-08 14:27:11 -07:00
Brian C. Lane d20abcc1ce - Version 13.4.6 (bcl)
- lokkit patch moved upstream
2015-02-27 16:02:32 -08:00
Brian C. Lane 0e83fcd825 - Version 13.4.6 (bcl)
- edit-livecd: Remove rebuild_iso_symlinks (#928620) (bcl)
- correctly check for selinux state (#896610) (bcl)
- Change vfat limit from 2047 to 4095 (bcl)
2014-05-02 15:58:40 -07:00
Brian C. Lane 67860ee6b2 change extlinux require to syslinux-extlinux package 2014-02-11 11:30:07 -08:00
Brian C. Lane 2005f09e47 - Version 13.4.5 (bcl)
- Add dmsquash-live module to dracut (#957892) (bcl)
2014-01-31 14:27:07 -08:00
Brian C. Lane f0f5a081d3 - Fix changelog version
- Update spec for mkefiboot
2013-05-23 09:01:29 -07:00
Brian C. Lane a8eb0b5d18 - Version 13.4.4 (bcl)
- Avoid setting empty root password (#962493) (thoger)
2013-05-23 07:24:22 -07:00
Seth Vidal 5b4379174d patch to make ami-creator and firewalls work 2012-08-28 15:47:59 -04:00
Brian C. Lane 148c86f978 - Version 13.4 (bcl)
- Use copyFile on the iso (bcl)
- Add EFI support to netboot and DVD iso (bcl)
- Use rsync to copy if available (bcl)
- Support /EFI/BOOT or /EFI/boot (#688258) (bcl)
- gptmbr can be written directly to the mbr (bcl)
- Ensure previous filesystems are wiped when formatting (#712553) (bcl)
- Turn on the legacy_boot flag for EFI (#680563) (bcl)
- Copy updates and product image files (bcl)
2011-08-23 17:34:25 -07:00
Brian C. Lane 18ab0b7d11 - Version 13.3 (bcl)
- extlinux doesn't support ext4 or btrfs on F13 (#709778) (bcl)
2011-06-01 15:09:21 -07:00
Brian C. Lane 24ef9aca30 Merge branch 'f13' into 'el6' 2011-05-25 15:28:36 -07:00
Brian C. Lane 9898eb0290 - Version 13.2 (bcl)
- Print reason for sudden exit (bcl)
- Fix skipcopy usage with DVD iso (#644194) (bmj001)
- Move selinux relabel to after %post (#648591) (bcl)
- Add support for virtio disks to livecd (#672936) (bcl)
- Check return value on udevadm (#637258) (bcl)
- Source may be a file or a block device, mount accordingly (bcl)
- Align start of partition at 1MiB (#668967) (bcl)
- Check for one big initrd.img (#671900) (bcl)
- Update documentation for xz availability. (bruno)
- Change releasever to a command line option (#667474) (bcl)
- Assign a device-mapper UUID w/ subsystem prefix to the dm snapshot. (dlehman)
- Fix git URLs to match reality. (dlehman)
2011-02-23 16:36:24 -08:00
Brian C. Lane 352f2deae2 - Version 13.1 (bcl)
- Trap copyFile errors (#663849) (fgrose)
- Create tmpdir if it doesn't exist (#658632) (bcl)
- Fix partition number selection for MMC bus devices (#587411) (fgrose)
- Tolerate empty transactions (lkundrak)
2010-12-22 15:42:16 -08:00
Brian C. Lane 2db1fc0887 - Change version for f13-branch (bcl)
- Misc. fixups (#652522) (fgrose)
- Set indentation to 4 spaces (#652522) (fgrose)
- Add a release target (bcl)
- Pass dracut args during check (#589778) (bcl)
- Cleanup EOL spaces (#652522) (fgrose)
- Typo. Need space before ]. (bruno)
- Add support for timeout and totaltimeout to livecd-iso-to-disk (#531566)
  (bcl)
2010-11-15 17:05:21 -08:00
Brian C. Lane f39573f3ca Merged master
This sets the stage so that we can just do fast-forward merges from
master in the future, keeping all branches in sync.
2010-11-04 11:35:01 -07:00
Bruno Wolff III 65594863dd Backport 033-3 to F12 so that F14 repos can be built on F12 systems. 2010-08-17 22:47:44 -05:00
Bruno Wolff III 22ae9ad86c Backport 033-2 to F13 so that people can build F14 repos on F13. 2010-08-17 22:31:55 -05:00
Fedora Release Engineering 105563ce84 dist-git conversion 2010-07-29 02:28:42 +00:00
Fedora Release Engineering e8fc910419 dist-git conversion 2010-07-29 02:28:40 +00:00
Jesse Keating 3152b9e877 - Rebuild 2010-05-07 21:35:41 +00:00
Jesse Keating ee15b37805 Initialize branch F-13 for livecd-tools 2010-02-17 01:57:37 +00:00
Bill Nottingham 57d08617ec Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:57:25 +00:00
Jesse Keating 2a90473e01 - Patch to disable iswmd on live images for F12 (533739) 2009-11-08 21:07:48 +00:00
Warren Togami bec3f0e420 livecd-iso-to-disk capable of installing installer DVD to USB 2009-11-03 18:37:07 +00:00
Warren Togami 73a30b9fd1 make it actually work 2009-10-20 02:27:53 +00:00
Warren Togami 8e2aad7b90 bump 2009-10-19 19:33:26 +00:00
Warren Togami cc973c670e bump 2009-10-19 19:26:00 +00:00
Warren Togami fec9a4b60a - Tell dracut not to ask for LUKS passwords or activate mdraid sets
- Silence the /etc/modprobe.conf deprecation warning
2009-10-19 19:24:53 +00:00
Jesse Keating b5609cdf46 Initialize branch F-12 for livecd-tools 2009-09-29 05:25:13 +00:00
5 changed files with 184 additions and 6 deletions

13
.gitignore vendored
View File

@ -1,3 +1,10 @@
livecd-tools-033.tar.bz2
/livecd-tools-034.tar.bz2
/livecd-tools-0.3.5.tar.bz2
/livecd-tools-13.2.tar.bz2
/livecd-tools-13.3.tar.bz2
/livecd-tools-13.4.tar.bz2
/livecd-tools-13.4.4.tar.bz2
/livecd-tools-13.4.5.tar.bz2
/livecd-tools-13.4.6.tar.bz2
/livecd-tools-13.4.7.tar.bz2
/livecd-tools-13.4.8.tar.bz2
/livecd-tools-13.4.9.tar.bz2
/livecd-tools-13.4.10.tar.bz2

58
gzip.patch Normal file
View File

@ -0,0 +1,58 @@
diff --git a/docs/livecd-creator.pod b/docs/livecd-creator.pod
index 880ae19..e80a119 100644
--- a/docs/livecd-creator.pod
+++ b/docs/livecd-creator.pod
@@ -42,8 +42,8 @@ Defines the file system label. The default is based on the configuration name.
=item --compression-type=COMPRESSOR
-Specify a compressor recognized by mksquashfs. The default is zlib. lzma
-currently requires a custom kernel to produce a functional image. If zlib
+Specify a compressor recognized by mksquashfs. The default is gzip. lzma
+currently requires a custom kernel to produce a functional image. If gzip
is used, the -comp option is not passed to mksquashfs to allow the use of
older versions of mksquashfs.
diff --git a/imgcreate/fs.py b/imgcreate/fs.py
index c5cd18b..554d1b9 100644
--- a/imgcreate/fs.py
+++ b/imgcreate/fs.py
@@ -41,8 +41,8 @@ def makedirs(dirname):
raise
def mksquashfs(in_img, out_img, compress_type):
-# Allow zlib to work for older versions of mksquashfs
- if compress_type == "zlib":
+# Allow gzip to work for older versions of mksquashfs
+ if compress_type == "gzip":
args = ["/sbin/mksquashfs", in_img, out_img]
else:
args = ["/sbin/mksquashfs", in_img, out_img, "-comp", compress_type]
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 36fef63..f349a1f 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -46,7 +46,7 @@ class LiveImageCreatorBase(LoopImageCreator):
"""
LoopImageCreator.__init__(self, *args)
- self.compress_type = "zlib"
+ self.compress_type = "gzip"
"""mksquashfs compressor to use."""
self.skip_compression = False
diff --git a/tools/livecd-creator b/tools/livecd-creator
index 79fc944..d1727c5 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -42,8 +42,8 @@ def parse_options(args):
imgopt.add_option("-f", "--fslabel", type="string", dest="fs_label",
help="File system label (default based on config name)")
imgopt.add_option("", "--compression-type", type="string", dest="compress_type",
- help="Compression type recognized by mksquashfs (default zlib, lzma needs custom kernel)",
- default="zlib")
+ help="Compression type recognized by mksquashfs (default gzip, lzma needs custom kernel)",
+ default="gzip")
parser.add_option_group(imgopt)
# options related to the config of your system

View File

@ -4,7 +4,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 0.3.5
Version: 13.4.10
Release: 1%{?dist}
Epoch: 1
License: GPLv2
@ -22,9 +22,10 @@ Requires: mkisofs
Requires: isomd5sum
Requires: parted
Requires: pyparted
Requires: util-linux
%ifarch %{ix86} x86_64
Requires: syslinux
Requires: /sbin/extlinux
Requires: syslinux-extlinux
%endif
%ifarch ppc
Requires: yaboot
@ -82,6 +83,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/image-creator
%{_bindir}/liveimage-mount
%{_bindir}/mkbiarch
%{_bindir}/mkefiboot
%files -n python-imgcreate
%defattr(-,root,root,-)
@ -92,6 +94,90 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/imgcreate/*.pyc
%changelog
* Tue Jun 21 2016 Brian C. Lane <bcl@redhat.com> - 13.4.10-1
- Version 13.4.9 (bcl)
- Revert "symlink /etc/mtab to /proc/self/mounts (#688277)" (esoule)
Resolves: rhbz#1347953
* Tue Nov 10 2015 Brian C. Lane <bcl@redhat.com> 13.4.9-1
- Version 13.4.9 (bcl)
- python-imgcreate: remove -f from second lokkit call (#769457) (bcl)
* Mon Jun 08 2015 Brian C. Lane <bcl@redhat.com> 13.4.8-1
- Version 13.4.8 (bcl)
- litd: Make sure device nodes have time to appear (bcl)
- symlink /etc/mtab to /proc/self/mounts (#688277) (bcl)
* Fri Feb 27 2015 Brian C. Lane <bcl@redhat.com> 13.4.7-1
- Version 13.4.7 (bcl)
- lokkit patch moved upstream
* Fri May 02 2014 Brian C. Lane <bcl@redhat.com> 13.4.6-1
- Version 13.4.6 (bcl)
- edit-livecd: Remove rebuild_iso_symlinks (#928620) (bcl)
- correctly check for selinux state (#896610) (bcl)
- Change vfat limit from 2047 to 4095 (bcl)
* Fri Jan 31 2014 Brian C. Lane <bcl@redhat.com> 13.4.5-1
- Version 13.4.5 (bcl)
- Add dmsquash-live module to dracut (#957892) (bcl)
* Thu May 23 2013 Brian C. Lane <bcl@redhat.com> 13.4.4-2
- Version 13.4.4 (bcl)
- Avoid setting empty root password (#962493) (thoger)
- Update spec for mkefiboot
* Tue Aug 28 2012 Seth Vidal <skvidal at fedoraproject.org>
- fix firewalls being reset when setting selinux state from imgcreate
* Tue Aug 23 2011 Brian C. Lane <bcl@redhat.com> - 13.4-1
- Version 13.4 (bcl)
- Use copyFile on the iso (bcl)
- Add EFI support to netboot and DVD iso (bcl)
- Use rsync to copy if available (bcl)
- Support /EFI/BOOT or /EFI/boot (#688258) (bcl)
- gptmbr can be written directly to the mbr (bcl)
- Ensure previous filesystems are wiped when formatting (#712553) (bcl)
- Turn on the legacy_boot flag for EFI (#680563) (bcl)
- Copy updates and product image files (bcl)
* Wed Jun 01 2011 Brian C. Lane <bcl@redhat.com> - 13.3-1
- Version 13.3 (bcl)
- extlinux doesn't support ext4 or btrfs on F13 (#709778) (bcl)
* Wed Feb 23 2011 Brian C. Lane <bcl@redhat.com> - 13.2-1
- Version 13.2 (bcl)
- Print reason for sudden exit (bcl)
- Fix skipcopy usage with DVD iso (#644194) (bmj001)
- Move selinux relabel to after %post (#648591) (bcl)
- Add support for virtio disks to livecd (#672936) (bcl)
- Check return value on udevadm (#637258) (bcl)
- Source may be a file or a block device, mount accordingly (bcl)
- Align start of partition at 1MiB (#668967) (bcl)
- Check for one big initrd.img (#671900) (bcl)
- Update documentation for xz availability. (bruno)
- Change releasever to a command line option (#667474) (bcl)
- Assign a device-mapper UUID w/ subsystem prefix to the dm snapshot. (dlehman)
- Fix git URLs to match reality. (dlehman)
* Wed Dec 22 2010 Brian C. Lane <bcl@redhat.com> - 13.1-1
- Version 13.1 (bcl)
- Trap copyFile errors (#663849) (fgrose)
- Create tmpdir if it doesn't exist (#658632) (bcl)
- Fix partition number selection for MMC bus devices (#587411) (fgrose)
- Tolerate empty transactions (lkundrak)
* Mon Nov 15 2010 Brian C. Lane <bcl@redhat.com> - 13.0-1
- Change version for f13-branch (bcl)
- Misc. fixups (#652522) (fgrose)
- Set indentation to 4 spaces (#652522) (fgrose)
- Add a release target (bcl)
- Pass dracut args during check (#589778) (bcl)
- Cleanup EOL spaces (#652522) (fgrose)
- Typo. Need space before ]. (bruno)
- Add support for timeout and totaltimeout to livecd-iso-to-disk (#531566)
(bcl)
* Mon Nov 01 2010 Brian C. Lane <bcl@redhat.com> - 0.3.5-1
- Converting version number to NVR
- Removed patches (now included in v0.3.5)

27
lokkit-fw-no-reset.patch Normal file
View File

@ -0,0 +1,27 @@
From 9c1868bf39af0d23d58e3aa184345de810443310 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Fri, 2 May 2014 15:54:42 -0700
Subject: [PATCH] fix firewalls being reset when setting selinux state from
imgcreate
Move the patch for this from pkg-git into upstream.
---
imgcreate/kickstart.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 04191b8..f50a9b8 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -175,7 +175,7 @@ class FirewallConfig(KickstartConfig):
def apply(self, ksfirewall):
if not os.path.exists(self.path("/usr/sbin/lokkit")):
return
- args = ["/usr/sbin/lokkit", "-f", "--quiet", "--nostart"]
+ args = ["/usr/sbin/lokkit", "--quiet", "--nostart"]
if ksfirewall.enabled:
args.append("--enabled")
--
1.9.0

View File

@ -1 +1 @@
b1acf6baf5ed6f25eda2aedef52bfc99 livecd-tools-0.3.5.tar.bz2
69a5457840ed2aad950c92815fc9a832 livecd-tools-13.4.10.tar.bz2