mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 04:15:37 -04:00
chroot calls are now generic "target env" calls.
This commit is contained in:
parent
da79082b13
commit
bf885d65db
9 changed files with 74 additions and 74 deletions
|
@ -57,11 +57,11 @@ SetTimezoneJob::exec()
|
|||
tr( "Bad path: %1" ).arg( zoneFile.absolutePath() ) );
|
||||
|
||||
// Make sure /etc/localtime doesn't exist, otherwise symlinking will fail
|
||||
CalamaresUtils::chrootCall( { "rm",
|
||||
CalamaresUtils::targetEnvCall( { "rm",
|
||||
"-f",
|
||||
localtimeSlink } );
|
||||
|
||||
int ec = CalamaresUtils::chrootCall( { "ln",
|
||||
int ec = CalamaresUtils::targetEnvCall( { "ln",
|
||||
"-s",
|
||||
zoneinfoPath,
|
||||
localtimeSlink } );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue