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