calamares-settings-ubuntu/lubuntu/calamares-logs-helper
Dan Simmons a45f016346 Calamares is not capitalized
Summary:
Directory location of Calamares logs is not capitalized.
This follows new Calamares version 3.2.14

Test Plan: Make sure install process copies log files to installed system correctly.

Reviewers: tsimonq2, wxl

Reviewed By: tsimonq2

Differential Revision: https://phab.lubuntu.me/D51
2019-10-09 15:00:14 -05:00

25 lines
713 B
Bash
Executable File

#!/bin/sh
set -ex
root=$1
install_dir=$root/var/log/installer
[ -d $install_dir ] || mkdir -p $install_dir
cp /home/lubuntu/.cache/calamares/session.log $install_dir/debug
cp /cdrom/.disk/info $install_dir/media-info
cp /var/log/casper.log $install_dir/casper.log
cp /var/log/syslog $install_dir/syslog
gzip --stdout $root/var/lib/dpkg/status > $install_dir/initial-status.gz
# OEM id isn't a thing, when in OEM mode ubiquity would also archive that.
# https://github.com/calamares/calamares/issues/943
chmod -v 600 $install_dir/*
# Make these world readable, they can absolutely not contain anything relevant
# to security.
chmod -v 644 $install_dir/initial-status.gz
chmod -v 644 $install_dir/media-info