system-builder 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/system_builder.rb +1 -1
- data/lib/system_builder/disk_squashfs_image.rb +1 -1
- metadata +2 -2
data/lib/system_builder.rb
CHANGED
@@ -63,7 +63,7 @@ class SystemBuilder::DiskSquashfsImage
|
|
63
63
|
|
64
64
|
def compress_root_fs
|
65
65
|
FileUtils::sudo "mksquashfs #{boot.root}/ build/filesystem.squashfs -noappend -e /boot"
|
66
|
-
FileUtils::sudo "chown #{ENV['USER']}
|
66
|
+
FileUtils::sudo "chown #{ENV['USER']} build/filesystem.squashfs && chmod +r build/filesystem.squashfs"
|
67
67
|
|
68
68
|
mount_boot_fs do |mount_dir|
|
69
69
|
FileUtils::sudo "cp build/filesystem.squashfs #{mount_dir}/filesystem.squashfs"
|