Changed the modules and firmware symlinks
This commit is contained in:
parent
6a4d4a4a56
commit
3a914eab34
@ -705,12 +705,10 @@ class Install(BaseImageClass):
|
|||||||
shutil.move(f, dstdir)
|
shutil.move(f, dstdir)
|
||||||
|
|
||||||
def create_modules_symlinks(self):
|
def create_modules_symlinks(self):
|
||||||
mkdir_(os.path.join(self.srctree, "modules"))
|
remove_(os.path.join(self.srctree, self.const.MODDIR, "*"))
|
||||||
mkdir_(os.path.join(self.srctree, "firmware"))
|
remove_(os.path.join(self.srctree, self.const.FWDIR, "*"))
|
||||||
remove_(os.path.join(self.srctree, self.const.MODDIR))
|
os.symlink(os.path.join(self.srctree, self.const.MODDIR), "/modules")
|
||||||
remove_(os.path.join(self.srctree, self.const.FWDIR))
|
os.symlink(os.path.join(self.srctree, self.const.FWDIR), "/firmware")
|
||||||
os.symlink("/modules", os.path.join(self.srctree, self.const.MODDIR))
|
|
||||||
os.symlink("/firmware", os.path.join(self.srctree, self.const.FWDIR))
|
|
||||||
|
|
||||||
def fix_man_pages(self):
|
def fix_man_pages(self):
|
||||||
# fix up some links for man page related stuff
|
# fix up some links for man page related stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user