Jump to content

Recommended Posts

Posted

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

<
Posted
  On 12/12/2022 at 9:02 PM, ALIGMSTEN said:

Any suggestions configuring the url for mk_format_patch

Expand  

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines