lfs-scripts/scripts/chapter7/7.13-backup.sh
2023-01-10 11:43:46 +05:30

16 lines
221 B
Bash

#!/bin/bash
rm -rf /usr/share/{info,man,doc}/*
find /usr/{lib,libexec} -name \*.la -delete
rm -rf /tools
exit
umount $LFS/dev/pts
umount $LFS/{sys,proc,run,dev}
cd $LFS
tar -cJpf $HOME/lfs-temp-tools-11.2.tar.xz .