From 0d951e47cb683a8d4859ed1f17f40702baa303ed Mon Sep 17 00:00:00 2001 From: Ada Phillips Date: Sun, 4 Aug 2024 03:37:55 -0400 Subject: [PATCH] fix(moonraker): PKGLIST variable rename (#298) Replace `PKGLIST` with `PACKAGES` in moonraker module script, following https://github.com/Arksine/moonraker/commit/247640cc27fd75bc657266db44f4a26769309e7e --- src/modules/moonraker/start_chroot_script | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/moonraker/start_chroot_script b/src/modules/moonraker/start_chroot_script index 23ac661b3..429f94d42 100644 --- a/src/modules/moonraker/start_chroot_script +++ b/src/modules/moonraker/start_chroot_script @@ -41,11 +41,11 @@ gitclone MOONRAKER_REPO moonraker ## Step 3: grep PKGLIST from install-moonraker.sh for dependencies echo_green "Generating packages file ..." -grep "PKGLIST=" "${MN_BUILD_INSTALL_SH}" >> "${MN_BUILD_PACKAGE_FILE}" +grep "PACKAGES=" "${MN_BUILD_INSTALL_SH}" >> "${MN_BUILD_PACKAGE_FILE}" -## Step 4: Rename PKGLIST to Module usable Var -echo_green "Rename variable PKGLIST to MOONRAKER_DEPS ..." -sed -i 's/PKGLIST/MOONRAKER_DEPS/g' "${MN_BUILD_PACKAGE_FILE}" +## Step 4: Rename PACKAGES to Module usable Var +echo_green "Rename variable PACKAGES to MOONRAKER_DEPS ..." +sed -i 's/PACKAGES/MOONRAKER_DEPS/g' "${MN_BUILD_PACKAGE_FILE}" ## Step 5: Source cn_package.lst file # shellcheck disable=SC1090