|
Last change
on this file since 370 was
370,
checked in by jrollins, 6 years ago
|
|
debirf: a couple of pretty big changes/simplifications.
condensed plugins into a single phase. it was silly to have 2 phases that ran
back-to-back, when the plugins are already run by run-parts in a particular
order.
broke out some shell functions to a /usr/share/debirf/common file that will be
sourced and therefore available to all plugins. (can we explode
setup_debirf_info function now?)
updated man page. included plugins section and section on pre-defined functions.
|
-
Property svn:executable set to
*
|
|
File size:
255 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | # debirf plugin to remove cached apt information not needed in the |
|---|
| 4 | # initramfs: |
|---|
| 5 | |
|---|
| 6 | chroot "$DEBIRF_ROOT" apt-get clean |
|---|
| 7 | rm "$DEBIRF_ROOT/var/cache/apt/"*.bin |
|---|
| 8 | rm -rf "$DEBIRF_ROOT/var/lib/apt/lists/"* |
|---|
| 9 | mkdir "$DEBIRF_ROOT/var/lib/apt/lists/partial" |
|---|
Note: See
TracBrowser
for help on using the repository browser.