Projects
openEuler:24.03:SP1:Everything
containerd
_service:tar_scm:apply-patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:apply-patch of Package containerd
#! /bin/bash # Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved. # Description: This shell script is used to apply patches for the project # Author: zhangyu235@huawei.com # Create: 2019-05-17 set -ex pkg=containerd-1.6.22 cwd=$PWD src=$cwd/$pkg unzip v1.6.22.zip if [[ ! -d patch ]]; then tar zxf patch.tar.gz fi cd $src git init git add . git config user.name 'build' git config user.email 'build@obs.com' git commit -m 'init build' cd $cwd series=$cwd/series.conf while IPF= read -r line do if [[ "$line" =~ ^patch* ]]; then echo git apply $cwd/$line cd $src && git apply $cwd/$line fi done <"$series" cd $cwd cp -rf $src/* . mv $src/.git $cwd/.git rm -rf containerd-1.6.22
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2