Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
build: IMMENSITY-X Release 1.0.0
Browse files Browse the repository at this point in the history
Change-Id: I72844d0bceba3edf70c2df79d5689c250e456a26
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
  • Loading branch information
UtsavBalar1231 committed Mar 6, 2022
1 parent 0367d92 commit f7d87f3
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ steps:
from_secret: bot_api_key
PD_API_KEY:
from_secret: pd_api_key
TYPE: "STGNG-0.2.1"
TYPE: "REL-1.0.0"
DEVICE: alioth
KBUILD_BUILD_USER: UtsavTheCunt
KBUILD_BUILD_HOST: CuntsSpace
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[![Build Status](https://cloud.drone.io/api/badges/UtsavBalar1231/kernel_xiaomi_sm8250/status.svg?ref=refs/heads/android12-stable)](https://cloud.drone.io/UtsavBalar1231/kernel_xiaomi_sm8250)
![Commits Count](https://img.shields.io/github/commits-since/UtsavBalar1231/kernel_xiaomi_sm8250/0.4.j/android12-stable)
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FUtsavBalar1231%2Fkernel_xiaomi_sm8250&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
![Downloads](https://img.shields.io/github/downloads/UtsavBalar1231/kernel_xiaomi_sm8250/0.4.j/total)

![logo](https://github.com/UtsavBalar1231/xda-stuff/raw/master/banner.png "logo was here")

## Technical Information
![poggers](https://github.com/UtsavBalar1231/xda-stuff/raw/master/alioth-github.png "imformation image was here")
- [XDA Thread](https://utsavbalar.netlify.app/community/#xda)
- [Telegram Support](https://utsavbalar.netlify.app/community/#telegram-groups)
- [Donate](https://utsavbalar.netlify.app/donate)
55 changes: 2 additions & 53 deletions scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -71,56 +71,14 @@ scm_version()
printf '%s' "-$android_release"
fi

# If we are at a tagged commit (like "v2.6.30-rc6"), we ignore
# it, because this version is defined in the top level Makefile.
if [ -z "`git describe --exact-match 2>/dev/null`" ]; then

# If only the short version is requested, don't bother
# running further git commands
if $short; then
echo "+"
return
fi
# If we are past a tagged commit (like
# "v2.6.30-rc5-302-g72357d5"), we pretty print it.
#
# Ensure the abbreviated sha1 has exactly 12
# hex characters, to make the output
# independent of git version, local
# core.abbrev settings and/or total number of
# objects in the current repository - passing
# --abbrev=12 ensures a minimum of 12, and the
# awk substr() then picks the 'g' and first 12
# hex chars.
if atag="$(git describe --abbrev=12 2>/dev/null)"; then
echo "$atag" | awk -F- '{printf("-%05d-%s", $(NF-1),substr($(NF),0,13))}'

# If we don't have a tag at all we print -g{commitish},
# again using exactly 12 hex chars.
else
head="$(echo $head | cut -c1-12)"
printf '%s%s' -g $head
fi
fi
commit=$(git rev-parse --verify --short=12 HEAD)
printf '%s' "//$commit"

# Is this git on svn?
if git config --get svn-remote.svn.url >/dev/null; then
printf -- '-svn%s' "`git svn find-rev $head`"
fi

# Check for uncommitted changes.
# First, with git-status, but --no-optional-locks is only
# supported in git >= 2.14, so fall back to git-diff-index if
# it fails. Note that git-diff-index does not refresh the
# index, so it may give misleading results. See
# git-update-index(1), git-diff-index(1), and git-status(1).
if {
git --no-optional-locks status -uno --porcelain 2>/dev/null ||
git diff-index --name-only HEAD
} | grep -qvE '^(.. )?scripts/package'; then
printf '%s' -dirty
fi

# All done with git
return
fi
Expand Down Expand Up @@ -204,15 +162,6 @@ res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
# full scm version string
res="$res$(scm_version)"
else
# append a plus sign if the repository is not in a clean
# annotated or signed tagged state (as git describe only
# looks at signed or annotated tags - git tag -a/-s) and
# LOCALVERSION= is not specified
if test "${LOCALVERSION+set}" != "set"; then
scm=$(scm_version --short)
res="$res${scm:++}"
fi
fi

echo "$res"
15 changes: 15 additions & 0 deletions scripts/update_subtrees
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# shellcheck source=/dev/null

# SPDX-License-Identifier: MIT
# Copyright (C) 2020-22 Utsav Balar

export TAG=$1
for p in qcacld-3.0 fw-api qca-wifi-host-cmn;
do git subtree pull --prefix=drivers/staging/$p https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/$p $TAG;
done
git subtree pull --prefix=techpack/audio https://source.codeaurora.org/quic/la/platform/vendor/opensource/audio-kernel $TAG;
git subtree pull --prefix=techpack/camera https://source.codeaurora.org/quic/la/platform/vendor/opensource/camera-kernel $TAG;
git subtree pull --prefix=techpack/data https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-kernel $TAG;
git subtree pull --prefix=techpack/display https://source.codeaurora.org/quic/la/platform/vendor/opensource/display-drivers $TAG;
git subtree pull --prefix=techpack/video https://source.codeaurora.org/quic/la/platform/vendor/opensource/video-driver $TAG;

0 comments on commit f7d87f3

Please sign in to comment.