refs #809 clean packages up a bit later
parent
fe5645c30a
commit
7467f991a6
|
@ -96,7 +96,6 @@ def boottoolsSoftwareCompile():
|
|||
os.chdir ('python-libfdisk')
|
||||
utils.run (['python3', 'setup.py', 'install'])
|
||||
os.chdir ('..')
|
||||
apt.remove (['python3-dev', 'python3-setuptools'])
|
||||
|
||||
os.environ['LANGUAGE'] = env_language
|
||||
os.environ['LC_ALL'] = env_lc_all
|
||||
|
@ -105,6 +104,9 @@ def boottoolsSoftwareCompile():
|
|||
def boottoolsPythonModules():
|
||||
utils.run (['pip3', 'install', 'pyblkid'])
|
||||
|
||||
def boottoolsRemovePackages():
|
||||
apt.remove (['python3-dev', 'python3-setuptools', 'python3-pip'])
|
||||
|
||||
def boottoolsInitrdGenerate (osrelease):
|
||||
print ('boottoolsInitrdGenerate', file=sys.stderr)
|
||||
for f in glob.glob ('/usr/lib/initramfs-tools/bin/*'):
|
||||
|
@ -143,4 +145,5 @@ if __name__ == '__main__':
|
|||
boottoolsSoftwareInstall (args.osarch, args.osrelease)
|
||||
boottoolsSoftwareCompile()
|
||||
boottoolsPythonModules()
|
||||
boottoolsRemovePackages()
|
||||
boottoolsInitrdGenerate (args.osrelease)
|
||||
|
|
Loading…
Reference in New Issue