Inflation is characterized by a general price increase, not a price increase in one commodity.
If everything has an oil component to its price i.e. energy to produce it or transportation to move it, a (large) price increase in one commodity would produce a general price increase.
If everything has an oil component to its price i.e. energy to produce it or transportation to move it, a (large) price increase in one commodity would produce a general price increase.