|
|
|
|
@ -52,12 +52,13 @@
|
|
|
|
|
|
|
|
|
|
#define install_command(target) yon_char_append("pacman -Sy --noconfirm ",target)
|
|
|
|
|
#define remove_command(target) yon_char_append("pacman -R --noconfirm ",target)
|
|
|
|
|
#define get_dependent_command(target) yon_char_append("pactree -rl ",target)
|
|
|
|
|
|
|
|
|
|
#define get_active_kernel_command "cat /usr/lib/modules/$(uname -r)/pkgbase"
|
|
|
|
|
#define get_installed_kernel_packages_command "cat /usr/lib/modules/*/pkgbase"
|
|
|
|
|
#define get_installed_kernel_modules_command "cat /memory/data/from/0/ublinux-data/module/*linux*"
|
|
|
|
|
|
|
|
|
|
#define build_command(target,filename,debug_bool,drivers_bool) yon_char_unite("ubmkuird -l -n ",filename," -k ",target, " ",(debug_bool)?"--addon ":"",(drivers_bool)?"-H":"",NULL)
|
|
|
|
|
#define build_command(target,filename,debug_bool,drivers_bool) yon_char_unite("ubmkuird -l ",!yon_char_is_empty(filename)?"-n ":"",filename," -k ",target, " ",(debug_bool)?"--addon ":"",(drivers_bool)?"-H":"",NULL)
|
|
|
|
|
|
|
|
|
|
#define yon_config_get_custom_command(target) yon_char_unite("ubconfig --source ",target," get boot KERNEL_BOOT",NULL)
|
|
|
|
|
#define config_get_local_command "ubconfig --source system get boot KERNEL_BOOT"
|
|
|
|
|
@ -236,6 +237,8 @@ void on_config_local_load(GtkWidget *, main_window *widgets);
|
|
|
|
|
void on_config_global_load(GtkWidget *, main_window *widgets);
|
|
|
|
|
void on_config_custom_load(GtkWidget *,main_window *widgets);
|
|
|
|
|
|
|
|
|
|
char *yon_package_dependent_get(char *target);
|
|
|
|
|
|
|
|
|
|
void on_terminal_done(GtkWidget *, int state, GtkWidget *status_box);
|
|
|
|
|
void yon_terminal_window_start(GtkWindow *parent_window, char *command);
|
|
|
|
|
|
|
|
|
|
|