chroot to scripts

This commit is contained in:
Anton Maisak 2021-05-29 11:32:19 +03:00
parent 62d5fb54a7
commit e6d2b8872b
2 changed files with 3 additions and 13 deletions

View File

@ -10,13 +10,10 @@ rm -rf /tmp/*
```bash
logout
chroot "$LIN" /usr/bin/env -i \
HOME=/root TERM="$TERM" \
PS1='(chroot) \u:\w\$ ' \
PATH=/usr/bin \
/bin/bash --login
```
[filename](https://raw.githubusercontent.com/Linux4Yourself/Linux4Yourself.Book.Scripts/develop/src/chroot.sh ':include')
Файлы `.la` потеряли свою актуальность и могут вызвать проблемы при обновлении. Удалите их:
```bash

View File

@ -31,11 +31,4 @@ fi
Войдите в ``chroot``:
```bash
chroot "$LIN" /usr/bin/env -i \
HOME=/root \
TERM="$TERM" \
PS1='(chroot) \u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login +h
```
[filename](https://raw.githubusercontent.com/Linux4Yourself/Linux4Yourself.Book.Scripts/develop/src/chroot.sh ':include')