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.

mk_format_patch -bad url

Featured Replies

Hello, using mk_format_patch and for <LOCAL GIT URL> am getting bad url its NOT git

 

git config [remote "origin"] physical look up or and any of git remote show origin - git remote -v etc will give the url if you dont know it already.

 

Any suggestions configuring the url for mk_format_patch

15 часов назад, ALIGMSTEN сказал:

Any suggestions configuring the url for mk_format_patch

Hello Alistair.
 

leo@localhost:/1.8T/gituser/armbian-build> url="cache/sources/linux-mainline/6.1"
leo@localhost:/1.8T/gituser/armbian-build> mkdir -p ~/tmp/test/patches.test
leo@localhost:/1.8T/gituser/armbian-build> tdir="/home/leo/tmp/test/patches.test"
leo@localhost:/1.8T/gituser/armbian-build> tools/mk_format_patch $url mego-6.1..HEAD "$tdir"

LOCAL GIT URL =: [/1.8T/gituser/armbian-build/cache/sources/linux-mainline/6.1]
revision range =: [mego-6.1..HEAD]
target folder for patches =: [/home/leo/tmp/test/patches.test]
prefix =: []
numbered =: [false]

    It's generate format-patch: 
    In tmp folder: /tmp/format_patch_lD9TFyE
                All generated patches: [7]
                Good patches: [7]
leo@localhost:/1.8T/gituser/armbian-build> tree /home/leo/tmp/test/
/home/leo/tmp/test/
├── patches.test
│   ├── Doc-dt-bindings-usb-add-binding-for-DWC3-controller-on-Allwinne.patch
│   ├── drv-bluetooth-btrtl-Add-rtl8822cs-hci-ver-0008.patch
│   ├── drv-mfd-Add-support-for-AC200.patch
│   ├── drv-net-phy-Add-support-for-AC200-EPHY.patch
│   ├── drv-pinctrl-pinctrl-sun50i-a64-disable_strict_mode.patch
│   ├── drv-rtc-sun6i-support-RTCs-without-external-LOSCs.patch
│   └── Revert-net-Remove-net-ipx.h-and-uapi-linux-ipx.h-header-files.patch
└── series.test

1 directory, 8 files

 

revision range =: [mego-6.1..HEAD]

After I applied all the "megous" patches, at the top of the story I made the tag "mego-6.1".

Now you can see at what stage my work is today.
Specify the full, absolute paths and everything will work.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.