From 2d527a1f06570ff1975e178bdd5fcc5a011f8bdb Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Mon, 9 Aug 2021 09:36:17 +0530 Subject: [PATCH 1/6] fix fuzz 2 --- 3001-applesmc-convert-static-structures-to-drvdata.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3001-applesmc-convert-static-structures-to-drvdata.patch b/3001-applesmc-convert-static-structures-to-drvdata.patch index cebd381..0d2f1cb 100644 --- a/3001-applesmc-convert-static-structures-to-drvdata.patch +++ b/3001-applesmc-convert-static-structures-to-drvdata.patch @@ -600,7 +600,7 @@ index 79b498f816fe..62211b590a61 100644 + struct applesmc_device *smc = dev_get_drvdata(dev); + const char *key = smc->reg.index[to_index(devattr)]; - return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", key); + return sysfs_emit(sysfsbuf, "%s\n", key); } @@ -821,12 +885,13 @@ static ssize_t applesmc_show_sensor_label(struct device *dev, static ssize_t applesmc_show_temperature(struct device *dev, From 5fa8575c4fd07f1e63c8cda4b6d7bf5789020b77 Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Mon, 9 Aug 2021 13:10:52 +0530 Subject: [PATCH 2/6] Update PKGBUILD --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 01127ff..4ab7b98 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -240,7 +240,7 @@ md5sums=('9bd74571c148a7753f5a237ba52f8ee5' '080dee4dd14a43c2c131aa907b5a6045' 'a0b6081a5f114a0bf6241bd131f3b360' '4e95da49152e777a7451f8ff3034070b' - '8662e5611b68d00ce2d413cba4906c4d' + '7d09991a37cffaf38f0241b43668333f' '4545735c36000c0615be989948a79aba' 'aa562bcf187c5ce9dd9282737dffcaa9' '5f7b6f9b4cc4ac46b3678c95f3ffe4a3' From dfeae9195d642f374b59eeb49e11ebfe6b06fc11 Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Mon, 9 Aug 2021 13:24:15 +0530 Subject: [PATCH 3/6] Update BuildKernelPackage.yml --- .github/workflows/BuildKernelPackage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/BuildKernelPackage.yml b/.github/workflows/BuildKernelPackage.yml index 0419d92..94c1f18 100644 --- a/.github/workflows/BuildKernelPackage.yml +++ b/.github/workflows/BuildKernelPackage.yml @@ -46,13 +46,13 @@ jobs: files: | ${{ github.workspace }}/*.pkg.tar.* tag_name: v${{ steps.create_tag.outputs.tag }} - draft: true + draft: false body: | Install packages with `sudo pacman -U `, you can use urls or file paths. You will need to be using `apple-bce-dkms-git` as `apple-bce-git` only works on `linux-mbp`. - If you are looking for a debian version of this, see [here](https://github.com/Redecorating/mbp-ubuntu-kernel/releases) + If you are looking for a debian version of this, see [here](https://github.com/AdityaGarg8/mbp-16.x-ubuntu-kernel/releases) - You will need wifi firmware from MacOS, as described [here](https://wiki.t2linux.org/guides/wifi/#on-macos). + You will need wifi firmware from MacOS, as described [here](http://wiki.t2linux.org/guides/wifi/#big-sur-firmware) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From afbf0b4c86196a86dfad6a9eeae71d185c2c64fd Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Mon, 9 Aug 2021 13:33:30 +0530 Subject: [PATCH 4/6] Shall make release only when jamlam commits. --- .github/workflows/BuildKernelPackage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/BuildKernelPackage.yml b/.github/workflows/BuildKernelPackage.yml index 94c1f18..3e6f402 100644 --- a/.github/workflows/BuildKernelPackage.yml +++ b/.github/workflows/BuildKernelPackage.yml @@ -41,6 +41,7 @@ jobs: fi - name: Release + if: github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v1 with: files: | From 94dfe5df6c57e8f9a2298f38ed933d75a35127b4 Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Mon, 9 Aug 2021 22:12:36 +0530 Subject: [PATCH 5/6] Update BuildKernelPackage.yml --- .github/workflows/BuildKernelPackage.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/BuildKernelPackage.yml b/.github/workflows/BuildKernelPackage.yml index 3e6f402..94c1f18 100644 --- a/.github/workflows/BuildKernelPackage.yml +++ b/.github/workflows/BuildKernelPackage.yml @@ -41,7 +41,6 @@ jobs: fi - name: Release - if: github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v1 with: files: | From d35db46c65b1fe2ccf0cbd2f6f8ebfcce23c16a1 Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Tue, 10 Aug 2021 08:44:42 +0530 Subject: [PATCH 6/6] Update BuildKernelPackage.yml --- .github/workflows/BuildKernelPackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/BuildKernelPackage.yml b/.github/workflows/BuildKernelPackage.yml index 94c1f18..8774b72 100644 --- a/.github/workflows/BuildKernelPackage.yml +++ b/.github/workflows/BuildKernelPackage.yml @@ -46,7 +46,7 @@ jobs: files: | ${{ github.workspace }}/*.pkg.tar.* tag_name: v${{ steps.create_tag.outputs.tag }} - draft: false + draft: true body: | Install packages with `sudo pacman -U `, you can use urls or file paths. You will need to be using `apple-bce-dkms-git` as `apple-bce-git` only works on `linux-mbp`.