Skip to content

Commit

Permalink
poplar_recovery_builder: Adapt to openSUSE JeOS rootfs tarball
Browse files Browse the repository at this point in the history
Use tar xjf for .tbz instead of xzf for .tar.gz, and extract to binary/
for compatibility.

Signed-off-by: Andreas Färber <afaerber@suse.de>
  • Loading branch information
afaerber committed May 26, 2017
1 parent ae52847 commit 86ee0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poplar_recovery_builder.sh
Expand Up @@ -467,7 +467,7 @@ function populate_root() {
# The tar file containing the root file system uses "binary"
# as it's root directory; that'll be our mount point. Mount
# the root file system, and mount what will be /boot within that.
sudo tar -xzf ${ROOT_FS_ARCHIVE} || nope "failed to populate root"
sudo tar -xjf ${ROOT_FS_ARCHIVE} -C binary || nope "failed to populate root"

# Fill in /etc/fstab
fstab_init
Expand Down

0 comments on commit 86ee0d6

Please sign in to comment.