Commit Graph

117 Commits

Author SHA1 Message Date
Gormogon
5d5519b7b0 [PEP 8] Comparison to 'False' 2015-02-18 09:22:33 -05:00
Gormogon
ebf037f247 [PEP 8] Comparison to 'None' 2015-02-18 09:21:49 -05:00
Gormogon
9419d07a98 Fixed Unclosed File 2015-02-18 09:09:15 -05:00
Gormogon
8e1480431a [PEP 263] Corrected Encoding Headers 2015-02-18 09:06:10 -05:00
Kevin Kofler
5209af0182 unpackfs: Fix error in list_excludes.
I accidentally removed the initialization of lst.
2014-12-05 00:27:59 +01:00
Kevin Kofler
e6d65d047b Fix unpackfs wrongly excluding separately-mounted partitions.
mount: Remember the extraMounts (and extraMountsEfi, if applicable) in
the global storage (as "extraMounts").

unpackfs: Read the extra mounts from the global storage to generate the
exclude list instead of trying to detect it from the "mount" command's
output, because the latter also includes normally-mounted destination
partitions.

This makes having separate partitions for non-/ mountpoints work again.
2014-12-05 00:17:33 +01:00
Kevin Kofler
36488583f7 unpackfs: Add a trailing '/' to the excludes. 2014-11-28 18:33:31 +01:00
Kevin Kofler
f0203a072c unpackfs: Automatically detect the exclude list from the mounts.
See issue #173.
2014-11-28 18:29:57 +01:00
Kevin Kofler
8591dcf731 unpackfs: Make rsync preserve everything, exclude special paths.
Add the following flags to rsync:
* `-H, --hard-links            preserve hard links`
* `-A, --acls                  preserve ACLs (implies --perms)`
* `-X, --xattrs                preserve extended attributes`
(i.e., the preservation options not already implied by -a).

Also exclude the special paths that do not make sense to rsync, because
reading the extended attributes from those can cause errors, at least
with SELinux enabled.

This fixes installation of Fedora systems with SELinux enabled.
2014-11-27 18:36:46 +01:00
Teo Mrnjavac
ee2ed0921e Allow mounting a Fedora image.
Fixes #127
2014-10-27 11:02:09 +01:00
Rohan Garg
6513c6400e Handle line breaks properly 2014-10-15 12:51:43 +02:00
Rohan Garg
eed387f7a4 Make sure to check things exist before actually modifying them
This fixes crashes when a system does not have squashfs-tools or
a grub dir does not exist.
2014-10-14 15:09:38 +02:00
Daniel Hillenbrand
c97251d741 unpackfs: check for supported filesystems
Use /proc/filesystems to check if the system
supportes the given source filesystem.
2014-08-19 19:53:59 +02:00
Daniel Hillenbrand
148a29d506 unpackfs: code dedup 2014-08-19 19:12:48 +02:00
Teo Mrnjavac
35f0dfc76d List all files recursively. 2014-08-19 12:07:17 +02:00
Teo Mrnjavac
8ce769184e Check for fs name validity. 2014-08-19 12:02:03 +02:00
Philip
37426b9f7a Replace unsquashfs with unpackfs
Conflicts:
	src/modules/unsquashfs/unsquashfs.conf
2014-08-19 11:55:34 +02:00