summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-05 14:21:15 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-05 14:21:15 +0000
commit94fa1f6ef58e053b254579bbffb2302671495c84 (patch)
treebfe3f6b80fd347c50372726c5cb2a3467e93f30c
parent906e93d480d8b77aac8ce4b3837ab55b3b496d2d (diff)
downloaddrakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar.gz
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar.bz2
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.tar.xz
drakx-94fa1f6ef58e053b254579bbffb2302671495c84.zip
link rescue-gui with params (prepare next commits)
-rw-r--r--mdk-stage1/Makefile2
-rw-r--r--mdk-stage1/rescue-gui.c7
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)))