Let $X$ be a manifold with boundary. For each point $x\in \partial X$, we have a neighborhood in $X$, say $U_x$, which is diffeomorphic $\phi_x:U_x\to H^k$ to $k-$dimensional upper half space. Then let $\pi:U_x\to\mathbb{R}$ be projection onto the final coordinate (for $H^k$, this entry is $\geq 0$). Let $f_x=\pi\circ\phi_x$. We have constructed a collection of functions which, individually, are strictly positive on $X^\circ$ but $0$ on $\partial X$. By adding in the constant 1 function defined on $X^\circ$, how do I patch these together with a partition of unity? I know the definition of the partition of unity, but I don't know how to proceed.
I also am aware that we can refine our open cover $\lbrace U_x\rbrace\cup\lbrace X^\circ\rbrace$ to the countable one: $\lbrace U_{x_i}\rbrace\cup\lbrace X^\circ\rbrace$
Any help would be appreciated, thanks!