mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-23 01:11:19 +03:00
autobuild acpi installer
git-svn-id: svn://kolibrios.org@8918 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
f76e4ee396
commit
b9df80cf80
@ -669,6 +669,7 @@ tup.append_table(img_files, {
|
||||
})
|
||||
tup.append_table(extra_files, {
|
||||
{"kolibrios/drivers/drvinst.kex", PROGS .. "/cmm/drvinst/drvinst.com"},
|
||||
{"kolibrios/drivers/acpi/install.kex", PROGS .. "/cmm/misc/acpi_install.com"},
|
||||
{"kolibrios/games/pig/pigex", PROGS .. "/cmm/examples/pigex.com"},
|
||||
{"kolibrios/games/the_bus/the_bus", PROGS .. "/cmm/the_bus/the_bus.com"},
|
||||
{"kolibrios/KolibriNext/install.kex", PROGS .. "/cmm/misc/install.com"},
|
||||
|
Binary file not shown.
@ -3,6 +3,7 @@ if tup.getconfig("LANG") == "ru"
|
||||
then C_LANG = "LANG_RUS"
|
||||
else C_LANG = "LANG_ENG" -- this includes default case without config
|
||||
end
|
||||
tup.rule("acpi_install.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "acpi_install.com")
|
||||
tup.rule("easyshot.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "easyshot.com")
|
||||
tup.rule("install.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "install.com")
|
||||
tup.rule("mblocks.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "mblocks.com")
|
||||
|
23
programs/cmm/misc/acpi_install.c
Normal file
23
programs/cmm/misc/acpi_install.c
Normal file
@ -0,0 +1,23 @@
|
||||
#define MEMSIZE 4096*20
|
||||
#define ENTRY_POINT #main
|
||||
|
||||
#include "../lib/fs.h"
|
||||
|
||||
void main()
|
||||
{
|
||||
RunProgram("/kolibrios/drivers/acpi/acpi", NULL);
|
||||
|
||||
pause(300);
|
||||
if (file_exists("/rd/1/drivers/devices.dat")) {
|
||||
if (GetSystemLanguage()==4) {
|
||||
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat ¡ë« ãá¯¥è® á£¥¥à¨à®¢ .\n“áâ ®¢ª ¥éñ ¥ § ª®ç¥ . ‘«¥¤ã©â¥ 㪠§ ¨ï¬ ¢ Readme!' -tdO");
|
||||
} else {
|
||||
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat was succesfully generated.\nInstallation is not completed.\nFor the next steps please check Readme!' -tdO");
|
||||
}
|
||||
RunProgram("/sys/@open", "/kolibrios/drivers/acpi/readme.txt");
|
||||
} else {
|
||||
notify("'Error generating /rd/1/drivers/devices.dat' -E");
|
||||
}
|
||||
|
||||
ExitProcess();
|
||||
}
|
Loading…
Reference in New Issue
Block a user