12345678910111213141516171819202122232425 |
- #!/usr/bin/env python3
- import distutils.dir_util
- import os
- import shutil
- import common
- from shell_helpers import LF
- class Main(common.BuildCliFunction):
- def __init__(self):
- super().__init__(
- description='''\
- https://cirosantilli.com/linux-kernel-module-cheat#rootfs-overlay
- ''')
- def build(self):
- self.sh.copy_dir_if_update(
- srcdir=self.env['rootfs_overlay_dir'],
- destdir=self.env['out_rootfs_overlay_dir'],
- )
- if __name__ == '__main__':
- Main().cli()
|