aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* bin/doctor: Allow ARM64 as wellMiquel Sabaté Solà2025-09-011-1/+2
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: Introduce the doctor.rb install/update scriptMiquel Sabaté Solà2025-07-141-0/+192
| | | | | | | | | This replaces the good ol' install.sh script, and it allows me to not only install on a new system, but also upgrade dependencies, repair broken links, etc. This is certainly not Nix, but at least it's not as bad as it used to be. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: Add zypper-rdup helper scriptMiquel Sabaté Solà2025-07-081-0/+20
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Streamline configuration for run-riscv-qemu.shMiquel Sabaté Solà2025-05-071-9/+15
| | | | | | | | | | | | | | Personal stuff like the location of the kernel image should go into my .bashrc file, and then require it on `run-riscv-qemu.sh`. Similarly, some environment variables were dropped, and some others removed. This brings some much needed consistency to the whole script. Last but not least, the `run-riscv-qemu.sh` now also had an extra configurable variable, which is used for the `-cpu` QEMU option. It defaults to 'max' so we can test the maximum amount of supported extensions as possible. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: Force a busybox path when running QEMUMiquel Sabaté Solà2025-04-221-5/+23
| | | | | | | | | | | | | | | | | | When running QEMU/RISC-V, force the user to provide the `BUSYBOX_SRC` environment variable. This variable points to the path where busybox has been built. This way the path to the initramfs is not hardcoded. Moreover, this allows us to rebuilt the initramfs every time the `run-riscv-qemu.sh` is called, which in turn brings some consistency to the process. Plus, this opens the door for allowing files to be passed into a new `/home` directory for the current user. This way, someone can just statically compile a binary via cross compilation, and then run it in isolation with QEMU/RISC-V. Last but not least, also update the .bashrc file with a value for `BUSYBOX_SRC` on my system. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Simplify boot parametersMiquel Sabaté Solà2024-11-141-2/+2
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Fix typoMiquel Sabaté Solà2024-10-111-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: Add helpers for gdb and qemu for RISC-VMiquel Sabaté Solà2024-10-112-0/+115
| | | | | | | | There are now two scripts that can be used in order to quickly test a locally built Linux kernel which has been cross compiled for the RISC-V architecture. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* e: Fix vi call and introduce nanoMiquel Sabaté Solà2024-09-191-3/+6
| | | | | | | | | The vi branch was calling vim anyways, which is not what we want in restricted environments. Moreover, I have also added nano. It would be extremely rare for GNU nano to be there and not vi, but let's exhaust any possibility before bailing out. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Remove the initrd image on uninstall.shMiquel Sabaté Solà2024-09-131-1/+2
| | | | | | | | The initrd image is created and installed dynamically via install.sh. Hence, this is not picked up by the files.txt list and so we need to remove it manually. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: Remove more scripts which are no longer neededMiquel Sabaté Solà2024-09-062-123/+0
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Simplify handling of .config fileMiquel Sabaté Solà2024-09-061-34/+14
| | | | | | Instead of prompting the user, just do the right thing. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: make install should be silentMiquel Sabaté Solà2024-09-031-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Use `make install` instead of manual copyMiquel Sabaté Solà2024-08-261-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Make 'e' my new EDITORMiquel Sabaté Solà2024-08-262-26/+16
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: add a -h/--help commandMiquel Sabaté Solà2024-08-241-1/+22
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Set a proper copyright noticeMiquel Sabaté Solà2024-08-2412-13/+13
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: add --no-installMiquel Sabaté Solà2024-08-201-33/+43
| | | | | | | This way the heavy process of creating a tarball can be skipped on silly builds. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: add the `-s/--skip-build` optionMiquel Sabaté Solà2024-08-191-33/+60
| | | | | | | This allows me to skip the defconfig/menuconfig over and over again when writing a patch. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: append lines for extboot by defaultMiquel Sabaté Solà2024-08-131-2/+38
| | | | | | | | | Usually the configuration for extboot is just the same. For that, before starting the editor for it, append the configuration that I'd most likely be using. Then the editor session might just be deleting the old lines and removing the warning comment. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: provide uninstall.sh and files.txt filesMiquel Sabaté Solà2024-08-071-1/+29
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: stylingMiquel Sabaté Solà2024-08-071-4/+4
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Removed tests which are no longer relevantMiquel Sabaté Solà2024-08-047-149/+0
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Removing unused binariesMiquel Sabaté Solà2024-08-047-536/+13
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: add a script to ease up linux cross compilingMiquel Sabaté Solà2024-07-281-0/+176
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Set ARCH and CROSS_COMPILE at the bash levelMiquel Sabaté Solà2024-07-241-41/+0
| | | | | | | Funnily enough, running something like `. cross` makes bash unstable. Hence, let's go back to mere .bashrc exporting. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: documenting the cross scriptMiquel Sabaté Solà2024-07-221-0/+23
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: added a simple script for cross compilationMiquel Sabaté Solà2024-07-211-0/+18
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Changed layout from mi to maoMiquel Sabaté Solà2023-08-221-2/+2
| | | | | | Apparently 'mi' is no longer the code to be used for maori. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Updated copyright noticeMiquel Sabaté Solà2023-01-0222-42/+40
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* ci: fix by updating the copyright noticeMiquel Sabaté Solà2022-10-2421-27/+27
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Cleaning some things upMiquel Sabaté Solà2022-09-051-1/+1
| | | | | | | | | | I forgot to update the year on the license script itself (sorta did but never bothered to push it on git), and removed emoji support in GNU Emacs since it can be a pain when starting in daemon mode for the first time (it asks for downloading the emojis but you don't really read it when starting on this way). Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: added the git-default scriptMiquel Sabaté Solà2022-09-051-0/+45
| | | | | | | | This subcommand allows you to easily checkout the default branch. This is mainly done because nowadays there are repositories with `main` or `master` or `whatever` as their default name. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: explicitely set the nocap optionMiquel Sabaté Solà2021-11-151-2/+2
| | | | | | | When toggling the layout, explicitely set the ctrl:nocap option so it overrides the default value for some systems. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Polishing things up a bitMiquel Sabaté Solà2021-10-181-430/+0
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: added binary for the xoauth2 protocolMiquel Sabaté Solà2021-06-231-0/+430
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Fixes here and there...Miquel Sabaté Solà2021-06-221-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* It's been 2021 for quite a while nowMiquel Sabaté Solà2021-01-2221-28/+28
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Improved locking of screenMiquel Sabaté Solà2020-12-031-0/+32
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: change the keyboard layout being pickedMiquel Sabaté Solà2020-11-232-6/+6
| | | | | | | | | | - mi: the US keyboard layout is apparently the same as the one for the Māori keyboard language, with the advantage of being able to use macrons. Let's replace the US one with this other one. - ca: since I'm using the catalan variant, it makes more sense to show this one instead of the standard `es`. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* i3: prepend the language keymap on the statusMiquel Sabaté Solà2020-11-122-1/+33
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: added zypper-rupMiquel Sabaté Solà2020-10-281-0/+20
| | | | | | Which is just a shorthand for zypper ref && up. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: introducing the xo binaryMiquel Sabaté Solà2020-10-101-0/+38
| | | | | | | This is just a dumb replacement for the previous `xo` shell alias, so I can avoid some of the shortcomings of `xdg-open`. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: added the git-who pluginMiquel Sabaté Solà2020-09-151-0/+97
| | | | | | This shows a list of the top contributors of a certain git repository. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: added find-broken-symlinksMiquel Sabaté Solà2020-08-031-0/+103
| | | | | | | | | This simple script checks for unexpectedly broken symlinks in a given directory ($HOME by default). This is useful because, as I've sadly detected, I had some relevant files that were not actually symlinked and some things utterly failed. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: added git nukeMiquel Sabaté Solà2020-03-251-0/+44
| | | | | | This deletes a branch both locally and remotely. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Did you know that we are in 2020 already?Miquel Sabaté Solà2020-02-1114-21/+21
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Added linters and polished codeMiquel Sabaté Solà2019-09-052-2/+3
| | | | | | The minimum version supported has been raised to 25.3. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Complete re-structuring so it's easier to installMiquel Sabaté Solà2019-08-221-0/+0
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Tidying upMiquel Sabaté Solà2019-08-222-3/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>