mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 03:26:31 +01:00
Move sysa's initramfs creation into prepare()
This commit is contained in:
parent
fa2a09b63f
commit
7075c901a9
1 changed files with 2 additions and 3 deletions
5
sysa.py
5
sysa.py
|
|
@ -36,9 +36,6 @@ class SysA(SysGeneral):
|
||||||
|
|
||||||
self.prepare(chroot)
|
self.prepare(chroot)
|
||||||
|
|
||||||
if not chroot:
|
|
||||||
self.make_initramfs()
|
|
||||||
|
|
||||||
def prepare(self, chroot):
|
def prepare(self, chroot):
|
||||||
"""
|
"""
|
||||||
Prepare directory structure for System A.
|
Prepare directory structure for System A.
|
||||||
|
|
@ -55,6 +52,8 @@ class SysA(SysGeneral):
|
||||||
|
|
||||||
if chroot:
|
if chroot:
|
||||||
self.sysc()
|
self.sysc()
|
||||||
|
else:
|
||||||
|
self.make_initramfs()
|
||||||
|
|
||||||
def sysa(self):
|
def sysa(self):
|
||||||
"""Copy in sysa files for sysa."""
|
"""Copy in sysa files for sysa."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue