-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: oklopfer <[email protected]>
- Loading branch information
1 parent
1c84d24
commit 7b7f43d
Showing
4 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
pkgbase = modprobed-db | ||
gives = modprobed-db | ||
pkgver = 2.47 | ||
pkgdesc = Keeps track of EVERY kernel module ever used - useful for make localmodconfig | ||
url = https://wiki.archlinux.org/index.php/Modprobed-db | ||
depends = kmod | ||
optdepends = sudo: needed for recall function | ||
breaks = modprobed_db | ||
replaces = modprobed_db | ||
replaces = modprobed-db-git | ||
license = MIT | ||
maintainer = xdavius <[email protected]> | ||
source = https://github.com/graysky2/modprobed-db/archive/v2.47.tar.gz | ||
sha256sums = fef19759fda476134bec718d997bcb2a0c43d0a19b72f8f9e38bba22c746531d | ||
|
||
pkgname = modprobed-db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
pkgname="modprobed-db" | ||
gives="modprobed-db" | ||
pkgver="2.47" | ||
pkgdesc="Keeps track of EVERY kernel module ever used - useful for make localmodconfig" | ||
license=("MIT") | ||
depends=("kmod") | ||
optdepends=('sudo: needed for recall function') | ||
replaces=("modprobed_db" "${pkgname}-git") | ||
breaks=("modprobed_db") | ||
url='https://wiki.archlinux.org/index.php/Modprobed-db' | ||
source=("https://github.com/graysky2/${gives}/archive/v${pkgver}.tar.gz") | ||
sha256sums=('fef19759fda476134bec718d997bcb2a0c43d0a19b72f8f9e38bba22c746531d') | ||
maintainer=("xdavius <[email protected]>") | ||
|
||
build() { | ||
cd "${_archive}" | ||
make -j"${NCPU}" | ||
} | ||
|
||
package() { | ||
cd "${_archive}" | ||
make DESTDIR="${pkgdir}" install | ||
install -Dm644 MIT "${pkgdir}/usr/share/licenses/${gives}/LICENSE" | ||
} | ||
|
||
post_install() { | ||
function ecrire_en_orange() { | ||
local ORANGE="\033[0;33m" | ||
local BLANC="\033[0;37m" | ||
local texte=$1 | ||
echo -e "${ORANGE}${texte}${BLANC}" | ||
} | ||
ecrire_en_orange ' | ||
-----------------------------------------------------------------------------------------------------------------------------' | ||
ecrire_en_orange ' | ||
--> The system service and timer have been deprecated in favor of user flavors.' | ||
ecrire_en_orange '--> See the manpage of modprobed for details.' | ||
ecrire_en_orange ' | ||
- Create your fist database by running :' | ||
echo ' | ||
modprobed-db && modprobed-db store' | ||
|
||
ecrire_en_orange ' | ||
- Recommended modules need to be added manualy to your .config/modprobed.db file' | ||
echo ' | ||
ext4, fat, vfat: to support common file systems and the EFI system partition | ||
loop: to mount a file as a file system | ||
isofs: to mount ISO files | ||
cifs: for network filesystems like Samba | ||
efivarfs: for mounting the UEFI#UEFI variables file system | ||
usb_storage: to support USB storage devices | ||
usbhid: to support USB input devices' | ||
ecrire_en_orange ' | ||
- Add all this module in one command : | ||
' | ||
cat << 'EOF' | ||
echo -e "ext4\nfat\nvfat\nloop\nisofs\ncifs\nefivarfs\nusb_storage\nusbhid" >> /home/${LOGNAME}/.config/modprobed.db | ||
EOF | ||
ecrire_en_orange ' | ||
-----------------------------------------------------------------------------------------------------------------------------' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5991,6 +5991,23 @@ pkgbase = mobile-usb-networking-deb | |
|
||
pkgname = mobile-usb-networking-deb | ||
--- | ||
pkgbase = modprobed-db | ||
gives = modprobed-db | ||
pkgver = 2.47 | ||
pkgdesc = Keeps track of EVERY kernel module ever used - useful for make localmodconfig | ||
url = https://wiki.archlinux.org/index.php/Modprobed-db | ||
depends = kmod | ||
optdepends = sudo: needed for recall function | ||
breaks = modprobed_db | ||
replaces = modprobed_db | ||
replaces = modprobed-db-git | ||
license = MIT | ||
maintainer = xdavius <[email protected]> | ||
source = https://github.com/graysky2/modprobed-db/archive/v2.47.tar.gz | ||
sha256sums = fef19759fda476134bec718d997bcb2a0c43d0a19b72f8f9e38bba22c746531d | ||
|
||
pkgname = modprobed-db | ||
--- | ||
pkgbase = moka-icon-theme | ||
pkgver = 5.4.0 | ||
pkgdesc = Moka is a stylized FreeDesktop icon set, created with simplicity in mind. | ||
|