Revision 3b2f6619 image_creator/os_type/slackware.py
b/image_creator/os_type/slackware.py | ||
---|---|---|
3 | 3 |
|
4 | 4 |
class Slackware(Linux): |
5 | 5 |
def cleanup_log(self): |
6 |
# In slackware the the installed packages info are stored in
|
|
7 |
# /var/log/packages. Clearing all /var/log files will destroy
|
|
8 |
# the package management
|
|
6 |
# In slackware the metadata about installed packages are
|
|
7 |
# stored in /var/log/packages. Clearing all /var/log files
|
|
8 |
# will destroy the package management system.
|
|
9 | 9 |
self.foreach_file('/var/log', self.g.truncate, ftype='r', \ |
10 | 10 |
exclude='/var/log/packages') |
11 | 11 |
|
Also available in: Unified diff