diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/Makefile | 2 | ||||
-rw-r--r-- | mdk-stage1/rescue-gui.c | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile index c7a9a92e9..e14891b6a 100644 --- a/mdk-stage1/Makefile +++ b/mdk-stage1/Makefile @@ -200,7 +200,7 @@ localclean: rm -f *.o .depend *.rdz *.img $(BINS) -rescue-gui: rescue-gui.o frontend-common.o $(FRONTEND_LINK) $(STAGE1_LIBC) +rescue-gui: rescue-gui.o frontend-common.o params.o utils.o log.o automatic.o $(FRONTEND_LINK) $(STAGE1_LIBC) $(DIET) $(CC) $(LDFLAGS) -o $@ $^ $(STRIPCMD) $@ diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c index f0d24d56a..77113354b 100644 --- a/mdk-stage1/rescue-gui.c +++ b/mdk-stage1/rescue-gui.c @@ -59,6 +59,12 @@ static void PAUSE(void) { /* ------ UUURGH this is duplicated from `init.c', don't edit here........ */ +void fatal_error(char *msg) +{ + printf("FATAL ERROR IN RESCUE: %s\n\nI can't recover from this.\nYou may reboot your system.\n", msg); + while (1); +} + static inline _syscall3(int, reboot, int, magic, int, magic2, int, flag); #define LOOP_CLR_FD 0x4C01 void del_loop(char *device) @@ -152,6 +158,7 @@ void unmount_filesystems(void) /* ------ UUURGH -- this is dirrrrrttttyyyyyy */ void probe_that_type(void) {} +void exit_bootsplash(void) {} int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))) |