Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Custom patching fails

Featured Replies

Greetings,

 

   I'm attempting to apply a custom patch during the build process for a bananapi-m2-zero. (specifically, DTS changes)    I went into the kernel source, and created a diff, and put it in the user customized patches directory.  Unfortunately, the patch failed.  So, I dug into it, and discovered the source changes because of patches in the armbian patches/ directory.  So, instead I started the build, let these patches apply,, and aborted the build. Then I created the diff again.  Sadly, the patch is still being rejected.  

 

Now, I might be able to fight with this, and make it work.  But the next time I pull a new update it could be broken and I have to go through this again.  

 

So, is there any way I can make this work?   

 

 

 

  • Author
On 7/29/2020 at 2:01 AM, Werner said:

How did you make the custom patch? Did you use the CREATE_PATCHES flag?

Well, I took the original source code, from the linux kernel tree.

I modified it, and then created the diff.

 

That did not work, so I built armbian, and let all the patches do their things.

Then I took the fully patched file (from the build) made my chanbges, and created a diff.

 

I put that diff in userpatches.  I was able to get this to work by forcing it to patch last, by prefixing the file name with 'zzz'.

 

I wasn't aware of CREATE_PATCHES, but that is great. I will try that

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.