diff options
-rw-r--r-- | loader/loader.c | 12 | ||||
-rw-r--r-- | rpmmodule/Makefile | 1 |
2 files changed, 9 insertions, 4 deletions
diff --git a/loader/loader.c b/loader/loader.c index 499d2cd20..e00b78a6b 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -653,10 +653,14 @@ int main(int argc, char ** argv) { unlink("/modules/modules.cgz"); unlink("/modules/pcitable"); - symlink("mnt/source/RedHat/instimage/modules/modules.dep", "/modules"); - symlink("mnt/source/RedHat/instimage/modules/modules-info", "/modules"); - symlink("mnt/source/RedHat/instimage/modules/modules.cgz", "/modules"); - symlink("mnt/source/RedHat/instimage/modules/pcitable", "/modules"); + symlink("../mnt/source/RedHat/instimage/modules/modules.dep", + "/modules/modules.dep"); + symlink("../mnt/source/RedHat/instimage/modules/module-info", + "/modules/module-info"); + symlink("../mnt/source/RedHat/instimage/modules/modules.cgz", + "/modules/modules.cgz"); + symlink("../mnt/source/RedHat/instimage/modules/pcitable", + "/modules/pcitable"); if (newtRunning) newtFinished(); closeLog(); diff --git a/rpmmodule/Makefile b/rpmmodule/Makefile index ec27a28a6..375829278 100644 --- a/rpmmodule/Makefile +++ b/rpmmodule/Makefile @@ -13,4 +13,5 @@ clean: rm -f *.o $(TARGET) install: all + mkdir -p $(DESTDIR) cp $(TARGET) $(DESTDIR) |