Compare commits
4 Commits
5bf921524d
...
4d99a0186f
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d99a0186f | |||
| a0ab294e18 | |||
| dff51cf7e4 | |||
| 70ccd8ab03 |
@@ -7,7 +7,7 @@ outputdir = "/home/gabry/lfs-repo/binpkg"
|
|||||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||||
destdir = f"{fembuilddir}/DESTDIR"
|
destdir = f"{fembuilddir}/DESTDIR"
|
||||||
|
|
||||||
deps = ["cmake"]
|
deps = []
|
||||||
|
|
||||||
build = [
|
build = [
|
||||||
# Extract
|
# Extract
|
||||||
|
|||||||
@@ -7,13 +7,15 @@ outputdir = "/home/gabry/lfs-repo/binpkg"
|
|||||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||||
destdir = f"{fembuilddir}/DESTDIR"
|
destdir = f"{fembuilddir}/DESTDIR"
|
||||||
|
|
||||||
deps = ["cmake"]
|
deps = ["gpg"]
|
||||||
|
|
||||||
build = [
|
build = [
|
||||||
# Extract
|
# Extract
|
||||||
|
f"mkdir -p {fembuilddir}",
|
||||||
|
|
||||||
# 64-bit build
|
# 64-bit build
|
||||||
f"cd {fembuilddir} && mkdir -p /var/lib/fempkg/keys && cp -pvra fempkg_pubkey.asc /var/lib/fempkg/keys/fempkg_pubkey.asc",
|
f"cd {fembuilddir} && mkdir -p /var/lib/fempkg/keys && cp -pvra /var/lib/fempkg/pkgs/fempkg_pubkey.asc /var/lib/fempkg/keys/fempkg_pubkey.asc",
|
||||||
|
f"gpg --import /var/lib/fempkg/keys/fempkg_pubkey.asc",
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
f"rm -rf {fembuilddir}"
|
f"rm -rf {fembuilddir}"
|
||||||
@@ -68,7 +68,7 @@ fastfetch.recipe.py
|
|||||||
fcron.recipe.py
|
fcron.recipe.py
|
||||||
femboyos-postpatches.recipe.py
|
femboyos-postpatches.recipe.py
|
||||||
femctl.recipe.py
|
femctl.recipe.py
|
||||||
femkpg-keys.recipe.py
|
fempkg-keys.recipe.py
|
||||||
fempkg.recipe.py
|
fempkg.recipe.py
|
||||||
ffmpeg.recipe.py
|
ffmpeg.recipe.py
|
||||||
fftw.recipe.py
|
fftw.recipe.py
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ build = [
|
|||||||
f"cd {builddir} && make -j$(nproc)",
|
f"cd {builddir} && make -j$(nproc)",
|
||||||
f"cd {builddir} && make INSTALL_MOD_PATH={destdir}/usr modules_install",
|
f"cd {builddir} && make INSTALL_MOD_PATH={destdir}/usr modules_install",
|
||||||
f"mkdir -pv {destdir}/boot",
|
f"mkdir -pv {destdir}/boot",
|
||||||
f"cd {builddir} && cp -vf arch/x86/boot/bzImage {destdir}/boot/vmlinuz",
|
f"cd {builddir} && cp -vf arch/x86/boot/bzImage {destdir}/boot/vmlinuz-{pkgver}",
|
||||||
f"cd {builddir} && cp -vf System.map {destdir}/boot/System.map",
|
f"cd {builddir} && cp -vf System.map {destdir}/boot/System.map",
|
||||||
f"cd {builddir} && cat .config > {destdir}/boot/config-{pkgver}",
|
f"cd {builddir} && cat .config > {destdir}/boot/config-{pkgver}",
|
||||||
|
|
||||||
@@ -50,5 +50,7 @@ build = [
|
|||||||
triggers = [
|
triggers = [
|
||||||
f"find /usr/lib/modules -mindepth 1 -maxdepth 1 -type d ! -name '{pkgver}' -exec rm -rf {{}} +",
|
f"find /usr/lib/modules -mindepth 1 -maxdepth 1 -type d ! -name '{pkgver}' -exec rm -rf {{}} +",
|
||||||
f"find /boot -maxdepth 1 ! -name 'config-{pkgver}' -name 'config-*' -exec rm -rf {{}} +",
|
f"find /boot -maxdepth 1 ! -name 'config-{pkgver}' -name 'config-*' -exec rm -rf {{}} +",
|
||||||
{"rebuild_package": ["nvidia"]}
|
{"rebuild_package": ["nvidia"]},
|
||||||
|
f"dracut -f -v /boot/initramfs-{pkgver}.img {pkgver}",
|
||||||
|
f"find /boot -mindepth 1 -maxdepth 1 -type f ! -name 'initramfs-{pkgver}.img' -name 'initramfs-*.img' -exec rm -rf {{}} +",
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user