Warning, /system/kcm-grub2/INSTALL is written in an unsupported language. File is not indexed.
0001 /==========================\ 0002 | Build & Run Instructions | 0003 \==========================/ 0004 0005 Enter the directory where you extracted the source code and run: 0006 0007 $ mkdir build 0008 $ cd build 0009 $ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` 0010 $ make 0011 $ sudo make install 0012 0013 You may then find the GRUB2 KCModule under "Startup and Shutdown" in 0014 System Settings. You may also launch it running: 0015 0016 $ kcmshell4 kcm_grub2 0017 0018 In order to appear in System Settings the first time you install the 0019 GRUB2 KCModule, you may have to run: 0020 0021 $ kbuildsycoca4 0022 0023 Note: '$' indicates a shell prompt. 0024 0025 /=============================\ 0026 | Dependencies & Requirements | 0027 \=============================/ 0028 0029 Requires KDE >= 4.4, Qt >= 4.6, GRUB2. 0030 Suggests ImageMagick for GRUB splash image management. 0031 Suggests hwinfo for valid GRUB resolution detection. 0032 Suggests LibQApt or QPackageKit for removing old entries. 0033 0034 Minimum KDE requirement is kdebase-runtime. 0035 Install kdebase-workspace instead for System Settings integration. 0036 0037 /======================\ 0038 | GRUB Path Resolution | 0039 \======================/ 0040 0041 Almost every distribution has different paths for GRUB executable and 0042 configuration files. Thus, the need to automatically detect them arises. 0043 Hopefully the most prevalent naming schemes boil down to three cases: 0044 0045 * vanilla grub-foo executables and boot directory, 0046 * modified grub2-foo executables and boot directory (allows for parallel 0047 installation of both major versions of GRUB), 0048 * and as a third, last case we consider BURG installations with vanilla 0049 burg-foo executables and boot directory. 0050 0051 CMake will detect the above cases in the order specified and 0052 appropriately fill in the following variables: 0053 0054 * GRUB_INSTALL_EXE = executable which installs GRUB 0055 * GRUB_MKCONFIG_EXE = executable which generates GRUB's menu file 0056 * GRUB_PROBE_EXE = executable which probes devices for GRUB information 0057 * GRUB_SET_DEFAULT_EXE = executable which sets the default entry in 0058 GRUB's environment file 0059 * GRUB_MENU = GRUB's menu file 0060 * GRUB_CONFIG = GRUB's main configuration file 0061 * GRUB_ENV = GRUB's environment file 0062 * GRUB_MEMTEST = script installed by memtest (usually under /etc/grub.d) 0063 * GRUB_LOCALE = GRUB's locale directory 0064 0065 For security reasons these variables can only be set at compile time and 0066 will be embedded in the binary, so that they cannot be altered 0067 afterwards. 0068 0069 The following options exist: 0070 0071 * Do not manually specify any of the above variables, in which case 0072 CMake will try to resolve them automatically. If it fails you will be 0073 prompted to manually specify them all. 0074 * If you specify at least one of the *_EXE variables, you will have to 0075 specify all other variables as well. 0076 * You can make changes to the non-EXE variables as long as you don't 0077 alter any of the *_EXE ones. 0078 0079 Package maintainers are encouraged to manually specify all of the above 0080 variables in order to fit with each distribution's naming scheme.